Router-tools/router-tools.service

15 lines
No EOL
313 B
Desktop File

[Unit]
Description=Router tools service
After=network.target
[Service]
ExecStart=/usr/local/bin/gunicorn -w 4 -b 0.0.0.0:5000 app:app
WorkingDirectory=/opt/router-tools
User={PUT-A-USER}
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=router-tools
[Install]
WantedBy=multi-user.target