summaryrefslogtreecommitdiff
path: root/templates/cfengine/cfengine_watchdog
diff options
context:
space:
mode:
authorJulien Dessaux2018-03-14 15:19:07 +0100
committerJulien Dessaux2018-03-14 15:19:07 +0100
commitda8598dd622df36f853b32782e8c9756d2a4e787 (patch)
tree2862d6a09ba81a5fbec157ce84294333a3b10bc6 /templates/cfengine/cfengine_watchdog
parentAdded rutorrent docker container to /etc/hosts (diff)
downloadmasterfiles-da8598dd622df36f853b32782e8c9756d2a4e787.tar.gz
masterfiles-da8598dd622df36f853b32782e8c9756d2a4e787.tar.bz2
masterfiles-da8598dd622df36f853b32782e8c9756d2a4e787.zip
Fixed update.cf problem no copying all template files
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}}