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