1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# (better) lsb compliance
--- a/lib/thin/controllers/service.sh.erb
+++ b/lib/thin/controllers/service.sh.erb
@@ -4,7 +4,7 @@
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
-# Default-Stop: S 0 1 6
+# Default-Stop: 0 1 6
# Short-Description: thin initscript
# Description: thin
### END INIT INFO
@@ -27,7 +27,7 @@
stop)
$DAEMON stop --all $CONFIG_PATH
;;
- restart)
+ restart|force-reload|reload)
$DAEMON restart --all $CONFIG_PATH
;;
*)
|