File: fix-init-script

package info (click to toggle)
thin 1.2.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,252 kB
  • ctags: 531
  • sloc: ruby: 4,529; ansic: 725; sh: 21; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 543 bytes parent folder | download
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
 	;;
   *)