Created
April 30, 2013 14:44
-
-
Save fabaff/5489183 to your computer and use it in GitHub Desktop.
systemd service unit for pywebserve
This file contains hidden or 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=A simple python Web server | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=root | |
| ExecStart=/usr/bin/python /var/www/pywebserve/pywebserve.py | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment