Last active
September 1, 2018 08:39
-
-
Save sumitsk20/e2f0f688f9de8ed8021bb59e82b31edd to your computer and use it in GitHub Desktop.
uwsgi.service to create systemd service in linux
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=uWSGI instance to serve updateMe project | |
After=network.target | |
[Service] | |
User=bunny | |
Group=webapps | |
WorkingDirectory=/webapps/project_name/src | |
Environment="PATH=/webapps/project_name/bin" | |
ExecStart=/webapps/project_name/bin/uwsgi --ini /webapps/project_name/conf/uwsgi.ini | |
Restart=always | |
KillSignal=SIGQUIT | |
Type=notify | |
NotifyAccess=all | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment