Skip to content
Snippets Groups Projects
Verified Commit e7f922b8 authored by David Hoese's avatar David Hoese
Browse files

Add environment variable to system service for custom settings

parent 384562d6
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ User=daemon
Group=metobsgrp
RuntimeDirectory=metobs_api
WorkingDirectory=/tmp
Environment="METOBSAPI_SETTINGS=/home/metobs/metobs_api_settings.py"
ExecStart=/opt/metobs/metobs_api/bin/gunicorn --pid /run/metobs_api/pid \
--bind unix:/run/metobs_api/socket --workers 8 -n metobs_api \
--max-requests 1000 metobsapi.server:app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment