Add bgp-api.service
This commit is contained in:
parent
7a5f3c52ce
commit
14fddde5ce
1 changed files with 15 additions and 0 deletions
15
bgp-api.service
Normal file
15
bgp-api.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=BGP api service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python3 /opt/bgp-api/app.py
|
||||
WorkingDirectory/opt/createvm-web
|
||||
User=root
|
||||
Restart=always
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=bgp-api
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue