summaryrefslogtreecommitdiff
path: root/templates/cfengine/cfengine_watchdog
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cfengine/cfengine_watchdog')
-rw-r--r--templates/cfengine/cfengine_watchdog6
1 files changed, 0 insertions, 6 deletions
diff --git a/templates/cfengine/cfengine_watchdog b/templates/cfengine/cfengine_watchdog
deleted file mode 100644
index a998511..0000000
--- a/templates/cfengine/cfengine_watchdog
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# \_o< WARNING : This file is being managed by cfengine! >o_/ #
-# ~~~~ ~~~~ #
-###############################################################################
-{{#systemd}}* * * * * root [ -x "/var/cfengine/bin/cf-execd" ] && if ! /bin/systemctl status cfengine3 > /dev/null; then /bin/systemctl start cfengine3; fi{{/systemd}}
-{{^systemd}}* * * * * root [ -x "/var/cfengine/bin/cf-execd" ] && if ! /usr/bin/pgrep cf-execd > /dev/null; then "/var/cfengine/bin/cf-execd"; fi{{/systemd}}