forked from imeyer/runit-rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2
More file actions
executable file
·11 lines (8 loc) · 649 Bytes
/
2
File metadata and controls
executable file
·11 lines (8 loc) · 649 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
envset=""
if [ -d /etc/runit/envdir-runsvdir ]; then
envset="/sbin/chpst -e /etc/runit/envdir-runsvdir"
fi
exec env - PATH=$PATH \
$envset /sbin/runsvdir -P /service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'