site-manager/nginx-traffic-monitor.service

14 lines
250 B
Desktop File

[Unit]
Description=NGINX Traffic Monitor
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /root/site-manager/main.py
WorkingDirectory=/root/site-manager
Restart=always
User=nginx
Group=nginx
[Install]
WantedBy=multi-user.target