ok
Direktori : /usr/lib/systemd/system/ |
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/alt/python37/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