note-added
[nodemanager.git] / sliver-initscripts / vinit
index 5f55b55..9e0c9b7 100755 (executable)
@@ -29,6 +29,8 @@ lockfile=/var/lock/subsys/vinit
 
 RETVAL=0
 
+# xxx todo - redirect all stdout, stderr to /var/log/vinit for user access
+
 function start() {
     if [ ! -x $slicescript ] ; then
        echo "vinit@$slicename: no executable $slicescript - ignored"
@@ -42,7 +44,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}
 }