From b2fec086b9f498102537e0ff936138b2960e4082 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 25 Apr 2014 23:20:32 +0200 Subject: Initial import of runit init scripts based on ignite. I did not use ignite because it needs bash, and I don't really want it. --- services/dcron/log/run | 2 ++ services/dcron/log/supervise | 1 + services/dcron/run | 3 +++ services/dcron/supervise | 1 + 4 files changed, 7 insertions(+) create mode 100755 services/dcron/log/run create mode 120000 services/dcron/log/supervise create mode 100755 services/dcron/run create mode 120000 services/dcron/supervise (limited to 'services/dcron') diff --git a/services/dcron/log/run b/services/dcron/log/run new file mode 100755 index 0000000..b36c4da --- /dev/null +++ b/services/dcron/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p daemon.notice diff --git a/services/dcron/log/supervise b/services/dcron/log/supervise new file mode 120000 index 0000000..555fc30 --- /dev/null +++ b/services/dcron/log/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dcron-log \ No newline at end of file diff --git a/services/dcron/run b/services/dcron/run new file mode 100755 index 0000000..bd889e7 --- /dev/null +++ b/services/dcron/run @@ -0,0 +1,3 @@ +#!/bin/sh +echo "Starting dcron..." +exec crond -f 2>&1 diff --git a/services/dcron/supervise b/services/dcron/supervise new file mode 120000 index 0000000..99d3e2a --- /dev/null +++ b/services/dcron/supervise @@ -0,0 +1 @@ +/run/runit/supervise.dcron \ No newline at end of file -- cgit 1.4.1