virtual-metro/virtual-metro.service

13 lines
233 B
SYSTEMD
Raw Normal View History

2018-12-31 20:44:48 +11:00
[Unit]
Description=virtual-metro
After=network.target
[Service]
WorkingDirectory=/opt/virtual-metro
ExecStart=/usr/bin/gunicorn -w 4 -b 127.0.0.1:8111 virtual_metro:app
User=vmetro
Group=vmetro
[Install]
WantedBy=multi-user.target