Created
May 9, 2012 08:31
-
-
Save calvinchengx/2642992 to your computer and use it in GitHub Desktop.
systemd's cherrypy-[project name].service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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