Add bgp-api.service

This commit is contained in:
Blackwhitebear8 2025-01-12 20:57:01 +01:00
parent 7a5f3c52ce
commit 14fddde5ce

15
bgp-api.service Normal file
View 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