changes
This commit is contained in:
parent
5e31dd0214
commit
da2fbf6bbc
1 changed files with 15 additions and 0 deletions
15
router-tools.service
Normal file
15
router-tools.service
Normal 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=root
|
||||
Restart=always
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=router-tools
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue