Your IP : 3.143.7.112
Current Path : /lib/systemd/system/ |
|
Current File : //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