virtual-metro/virtual-metro.service

13 lines
243 B
Desktop File

[Unit]
Description=virtual-metro
After=network.target
[Service]
WorkingDirectory=/opt/virtual-metro
ExecStart=/usr/bin/gunicorn -w 4 -b 127.0.0.1:8111 --preload virtual_metro:app
User=vmetro
Group=vmetro
[Install]
WantedBy=multi-user.target