added reload
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Mon, 9 Jan 2012 22:09:10 +0000 (23:09 +0100)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Mon, 9 Jan 2012 22:09:10 +0000 (23:09 +0100)
init.d/s1-seeder

index 7d05dcb..aa99b26 100755 (executable)
@@ -24,4 +24,6 @@ if [ "$1" = "start" ] ; then
 
 elif [ "$1" = "stop" ] ; then
        kill `cat /tmp/$NAME.pid`
+elif [ "$1" = "reload" ] ; then
+       kill -HUP `cat /tmp/$NAME.pid`
 fi