D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
lib
/
systemd
/
system
/
Filename :
lvestats.service
back
Copy
[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