provide a generic stop method for the initscript
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 Jun 2010 13:39:04 +0000 (13:39 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 Jun 2010 13:39:04 +0000 (13:39 +0000)
sliver-initscripts/vinit

index 5f55b55..4a3e9c7 100755 (executable)
@@ -42,7 +42,8 @@ function start() {
 
 # the initial model came without a stop function; legacy ...
 function stop() {
-    echo $"(Dummy) Stopping $prog "
+    echo $"Stopping $prog "
+    killproc $basename
     rm -f ${lockfile}
 }