summaryrefslogtreecommitdiff
path: root/addons/x11infoscreen/usr/local/bin/launch-sync
blob: f52aa8ab4dfd11f8b074a7d5d0bbaaa0c73d4e76 (plain)
  1. #!/usr/bin/launchtool -C
  2. tag = sync
  3. command = rsync -ar --delete infoscreen@lager:/home/jonas/websites/info.dgi-huset.dk/img/ /var/lib/infoscreen/; exit 0
  4. daemon = yes
  5. stats = yes
  6. #user = myserver
  7. #root dir = /tmp
  8. #process count limit = 5
  9. #open files limit = 10
  10. wait times = 1,1,1,3,3,3,10,10,10
  11. infinite runs = yes
  12. launchtool output = syslog:sync,LOG_DAEMON,LOG_INFO
  13. launchtool errors = syslog:sync,LOG_DAEMON,LOG_ERR
  14. command output = syslog:sync,LOG_DAEMON,LOG_INFO
  15. command errors = syslog:sync,LOG_DAEMON,LOG_ERR
  16. silent restart time = 300
  17. silent restart status = 0