Skip to content
Snippets Groups Projects
Commit fbd37f41 authored by David Huss's avatar David Huss :speech_balloon:
Browse files
parents 891d1304 c042f0b2
Branches
No related tags found
No related merge requests found
[Unit]
Description="stechuhr-server daemon, receives Post requests"
Before=nginx.service
[Service]
ExecStart=/usr/bin/python /srv/stechuhr-server/stechuhr_server/server.py
Type=simple
User=wwwrun
ExecStart=/srv/stechuhr-server/env/bin/gunicorn stechuhr_server.server:app
Restart=always
RestartSec=30
PrivateDevices=yes
PrivateTmp=yes
ProtectSystem=full
NoNewPrivileges=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE
WorkingDirectory=/srv/stechuhr-server
[Install]
WantedBy=network.target
\ No newline at end of file
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment