fiss-minit

A standalone service supervisor based on minit
Log | Files | Refs | README | LICENSE

listpids (220B)


      1 #!/bin/sh
      2 
      3 # trivial shell script to list the running services
      4 
      5 for i in `find /etc/minit -type d | grep -v /etc/minit$ | sed 's@/etc/minit/@@'`; do
      6   msvc $i >/dev/null 2>&1
      7   if test $? = 0; then
      8     echo $i
      9   fi
     10 done