Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Created December 19, 2017 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronpk/69681d851b616a3b87b0dd0d0bcf4801 to your computer and use it in GitHub Desktop.
Save aaronpk/69681d851b616a3b87b0dd0d0bcf4801 to your computer and use it in GitHub Desktop.
description "watchtower worker"
start on runlevel [2345]
stop on runlevel [016]
respawn
exec sudo -u ubuntu /usr/bin/php7.1 /web/sites/watchtower/scripts/watchtower.php >> /web/sites/watchtower/scripts/logs/init.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment