Spade

Mini Shell

Directory:~$ /usr/lib/systemd/system/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //usr/lib/systemd/system/lvestats.service

[Unit]
Description=lvestats service
After=mysql.service
After=postgresql.service

[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
StartLimitInterval=300
StartLimitBurst=30

[Install]
WantedBy=multi-user.target