Skip to content

Instantly share code, notes, and snippets.

@calvinchengx
Created May 9, 2012 08:31
Show Gist options
  • Save calvinchengx/2642992 to your computer and use it in GitHub Desktop.
Save calvinchengx/2642992 to your computer and use it in GitHub Desktop.
systemd's cherrypy-[project name].service
[Unit]
Description=Cherrypy
After=network.target
[Service]
ExecStart=/bin/su web -l -c "/bin/bash --login -c /var/www/[project name]/[project name]/cherrypy_server.sh"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment