diff options
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r-- | runit/runsvdir.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 1666642..9495a2a 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c @@ -28,6 +28,13 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* Busyboxed by Denys Vlasenko <vda.linux@googlemail.com> */ /* TODO: depends on runit_lib.c - review and reduce/eliminate */ +//usage:#define runsvdir_trivial_usage +//usage: "[-P] [-s SCRIPT] DIR" +//usage:#define runsvdir_full_usage "\n\n" +//usage: "Start a runsv process for each subdirectory. If it exits, restart it.\n" +//usage: "\n -P Put each runsv in a new session" +//usage: "\n -s SCRIPT Run SCRIPT <signo> after signal is processed" + #include <sys/poll.h> #include <sys/file.h> #include "libbb.h" |