diff options
Diffstat (limited to 'foo/etc/sv/dcron')
-rwxr-xr-x | foo/etc/sv/dcron/log/run | 2 | ||||
l--------- | foo/etc/sv/dcron/log/supervise | 1 | ||||
-rwxr-xr-x | foo/etc/sv/dcron/run | 3 | ||||
l--------- | foo/etc/sv/dcron/supervise | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/foo/etc/sv/dcron/log/run b/foo/etc/sv/dcron/log/run new file mode 100755 index 0000000..b36c4da --- /dev/null +++ b/foo/etc/sv/dcron/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p daemon.notice diff --git a/foo/etc/sv/dcron/log/supervise b/foo/etc/sv/dcron/log/supervise new file mode 120000 index 0000000..555fc30 --- /dev/null +++ b/foo/etc/sv/dcron/log/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dcron-log \ No newline at end of file diff --git a/foo/etc/sv/dcron/run b/foo/etc/sv/dcron/run new file mode 100755 index 0000000..bd889e7 --- /dev/null +++ b/foo/etc/sv/dcron/run @@ -0,0 +1,3 @@ +#!/bin/sh +echo "Starting dcron..." +exec crond -f 2>&1 diff --git a/foo/etc/sv/dcron/supervise b/foo/etc/sv/dcron/supervise new file mode 120000 index 0000000..99d3e2a --- /dev/null +++ b/foo/etc/sv/dcron/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dcron \ No newline at end of file |