From b09c3aab3163c38a0684c12024ae2c6c5d185410 Mon Sep 17 00:00:00 2001 From: Nikhil Choudhary Date: Mon, 19 Oct 2015 13:40:51 -0500 Subject: [PATCH] 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. --- scripts/etc.init.d.sslh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/etc.init.d.sslh b/scripts/etc.init.d.sslh index 54aa0d1..790f066 100755 --- a/scripts/etc.init.d.sslh +++ b/scripts/etc.init.d.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' }