Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ usr/ lib/ systemd/ system/

//usr/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