Current File : //proc/thread-self/root/proc/self/root/lib/systemd/system/lvestats.service
[Unit]
Description=lvestats service
After=mysql.service
After=postgresql.service
StartLimitIntervalSec=300
StartLimitBurst=30

[Service]
Type=forking
PIDFile=/var/run/lvestats.pid
ExecStart=/opt/cloudlinux/venv/bin/python3 /usr/share/lve-stats/lvestats-server.py start --pidfile /var/run/lvestats.pid
ExecStop=/bin/kill -SIGTERM $MAINPID
ExecReload=/bin/kill -SIGHUP $MAINPID
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target