Browse Source

Fix daemon start syntax

Per the changelog for 1.17: argument to -F can no longer be separated from the option by a space, e.g. must be -Ffoo.cfg).  This fixes the `/etc/sslh/sslh.cfg:file I/O error` message if the config file is stored in `/etc/sslh.cfg` as given by Readme.md.
master
Nikhil Choudhary 7 years ago
parent
commit
b09c3aab31
  1. 2
      scripts/etc.init.d.sslh

2
scripts/etc.init.d.sslh

@ -27,7 +27,7 @@ DAEMON=$PREFIX/sbin/sslh @@ -27,7 +27,7 @@ DAEMON=$PREFIX/sbin/sslh
start()
{
echo "Start services: sslh"
$DAEMON -F /etc/sslh.cfg
$DAEMON -F/etc/sslh.cfg
logger -t ${tag} -p ${facility} -i 'Started sslh'
}

Loading…
Cancel
Save