new awesome build
This commit is contained in:
15
DOCS/General/systemd/ovpmon-profiler.service
Normal file
15
DOCS/General/systemd/ovpmon-profiler.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=OpenVPN Profiler API
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/ovpmon/APP_PROFILER
|
||||
# Running directly via python as main.py has uvicorn.run
|
||||
ExecStart=/opt/ovpmon/venv/bin/python /opt/ovpmon/APP_PROFILER/main.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user