Initial commit
This commit is contained in:
14
tools/service/ipv0-olt-api.service
Normal file
14
tools/service/ipv0-olt-api.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=IPv0 OLT API (Zabbix Integration)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/opt/ipv0-olt-api
|
||||
ExecStart=/opt/ipv0-olt-api/venv/bin/python3 app.py
|
||||
Restart=always
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user