This repository has been archived on 2024-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
virtual-metro/virtual-metro.service

13 lines
243 B
SYSTEMD
Raw Permalink Normal View History

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