]> git.pld-linux.org Git - packages/demarc.git/commitdiff
cron job to check if demarc is running
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 6 Sep 2001 20:46:14 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    demarc.cron -> 1.1

demarc.cron [new file with mode: 0644]

diff --git a/demarc.cron b/demarc.cron
new file mode 100644 (file)
index 0000000..afb6da7
--- /dev/null
@@ -0,0 +1,3 @@
+# It's very important to have demarcd running
+*/15 * * * *    root    /bin/sh -c "if (/etc/rc.d/init.d/demarcd status | grep -q 'dead but pid file exists'); then /etc/rc.d/init.d/demarcd restart > /dev/null; fi"
+
This page took 0.098224 seconds and 4 git commands to generate.