1
0
mirror of https://github.com/moparisthebest/sslh synced 2024-12-21 06:48:57 -05:00

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.
This commit is contained in:
Nikhil Choudhary 2015-10-19 13:40:51 -05:00
parent 389ab9fbff
commit b09c3aab31

View File

@ -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'
}