aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/cron/dcron-srv
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/source/system/cron/dcron-srv')
-rw-r--r--src/lib/source/system/cron/dcron-srv/producer-for1
-rw-r--r--src/lib/source/system/cron/dcron-srv/run13
-rw-r--r--src/lib/source/system/cron/dcron-srv/type1
3 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/source/system/cron/dcron-srv/producer-for b/src/lib/source/system/cron/dcron-srv/producer-for
new file mode 100644
index 0000000..742632d
--- /dev/null
+++ b/src/lib/source/system/cron/dcron-srv/producer-for
@@ -0,0 +1 @@
+dcron-log
diff --git a/src/lib/source/system/cron/dcron-srv/run b/src/lib/source/system/cron/dcron-srv/run
new file mode 100644
index 0000000..cd8101d
--- /dev/null
+++ b/src/lib/source/system/cron/dcron-srv/run
@@ -0,0 +1,13 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+# http://www.jimpryor.net/linux/dcron.html
+
+# Will only work with the new fork (version 4.6 or newer)
+# https://github.com/ptchinster/dcron
+# See issue https://github.com/dubiousjim/dcron/issues/13
+
+fdmove -c 2 1
+
+crond
+ -f
diff --git a/src/lib/source/system/cron/dcron-srv/type b/src/lib/source/system/cron/dcron-srv/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/src/lib/source/system/cron/dcron-srv/type
@@ -0,0 +1 @@
+longrun