From b6d85b04286d30498a11aaac36e75032b1e72801 Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 10 Jun 2006 18:18:37 +0000 Subject: Added all work so far... git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@2 8f53b18a-e215-0410-8885-9f593d34873e --- addons/x11infoscreen/usr/local/bin/launch-sync | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 addons/x11infoscreen/usr/local/bin/launch-sync (limited to 'addons/x11infoscreen/usr/local/bin/launch-sync') diff --git a/addons/x11infoscreen/usr/local/bin/launch-sync b/addons/x11infoscreen/usr/local/bin/launch-sync new file mode 100755 index 0000000..f52aa8a --- /dev/null +++ b/addons/x11infoscreen/usr/local/bin/launch-sync @@ -0,0 +1,18 @@ +#!/usr/bin/launchtool -C + +tag = sync +command = rsync -ar --delete infoscreen@lager:/home/jonas/websites/info.dgi-huset.dk/img/ /var/lib/infoscreen/; exit 0 +daemon = yes +stats = yes +#user = myserver +#root dir = /tmp +#process count limit = 5 +#open files limit = 10 +wait times = 1,1,1,3,3,3,10,10,10 +infinite runs = yes +launchtool output = syslog:sync,LOG_DAEMON,LOG_INFO +launchtool errors = syslog:sync,LOG_DAEMON,LOG_ERR +command output = syslog:sync,LOG_DAEMON,LOG_INFO +command errors = syslog:sync,LOG_DAEMON,LOG_ERR +silent restart time = 300 +silent restart status = 0 -- cgit v1.2.3