Add vyos-tools.service
This commit is contained in:
parent
4705469023
commit
ea09c35b28
1 changed files with 15 additions and 0 deletions
15
vyos-tools.service
Normal file
15
vyos-tools.service
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Vyos tools service
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/local/bin/gunicorn -w 4 -b 0.0.0.0:5000 app:app
|
||||||
|
WorkingDirectory=/opt/vyos-tools
|
||||||
|
User={PUT-A-USER}
|
||||||
|
Restart=always
|
||||||
|
StandardOutput=syslog
|
||||||
|
StandardError=syslog
|
||||||
|
SyslogIdentifier=vyos-tools
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Add table
Add a link
Reference in a new issue