Package: pyro4 / 4.23-1

initscript_force-reload.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: add initscript force-reload support
 It will be default to restart for now as it has no configuration file to
 reload.
 .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Last-Update: <2012-12-31>

---

--- pyro4-4.17.orig/contrib/init.d/pyro4-nsd
+++ pyro4-4.17/contrib/init.d/pyro4-nsd
@@ -77,7 +77,11 @@ case "$1" in
     $0 start
     $0 stop
     ;;
+  force-reload)
+    $0 start
+    $0 stop
+    ;;
   *)
-    echo "usage: $0 {start|stop|restart}"
+    echo "usage: $0 {start|stop|restart|force-reload}"
 esac
 exit 0