Skip to content

Instantly share code, notes, and snippets.

@xenithorb
Last active June 5, 2017 21:57
Show Gist options
  • Save xenithorb/03ba08ec4faec2449072139f89ef108d to your computer and use it in GitHub Desktop.
Save xenithorb/03ba08ec4faec2449072139f89ef108d to your computer and use it in GitHub Desktop.
Kanboard worker service (beanstalkd)
# /etc/systemd/system/kanboard-beanstalk-worker.service
[Unit]
Description=Kanboard background worker (beanstalkd)
Wants=beanstalkd.service postgresql.service
After=postgresql.service
[Service]
Type=simple
User=apache
Group=apache
WorkingDirectory=/var/www/html/kanboard
ExecStart=/usr/bin/php -f ./cli worker -n
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment