Update router-tools.service

This commit is contained in:
Blackwhitebear8 2025-06-21 14:32:20 +02:00
parent c85e303eb6
commit ab942ae53f

15
router-tools.service Normal file
View file

@ -0,0 +1,15 @@
[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