Created
February 6, 2018 10:04
-
-
Save markuskont/b626dc717af111d9f2fb082d9408683b to your computer and use it in GitHub Desktop.
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=scirius daemon | |
After=network.target | |
[Service] | |
User=www-data | |
Group=www-data | |
WorkingDirectory=/usr/share/python/scirius | |
ExecStart=/usr/share/python/scirius/bin/gunicorn --log-syslog -t 600 -w 4 --bind unix:/tmp/scirius.sock scirius.wsgi:application | |
Environment=VIRTUAL_ENV=/usr/share/python/scirius | |
Environment=GIT_PYTHON_GIT_EXECUTABLE=/usr/bin/git | |
Environment=PATH=$VIRTUAL_ENV/bin:$PATH | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment