File: //proc/thread-self/root/usr/share/cloudlinux/clwpos_monitoring.service
[Unit]
Description=Cloudlinux AccelerateWP daemon
StartLimitIntervalSec=300
StartLimitBurst=30
Wants=lve_namespaces.service
After=lve_namespaces.service
After=cagefs.service
# Don't start until the filesystem holding the daemon socket is mounted
# read-write, otherwise stale socket cleanup fails at boot (CLPRO-3351)
RequiresMountsFor=/opt/clwpos
After=local-fs.target
[Service]
Type=simple
PIDFile=/var/run/clwpos_monitoring.pid
ExecStart=/usr/bin/cloudlinux-awp-daemon start
ExecStop=/usr/bin/cloudlinux-awp-daemon stop
ExecReload=/usr/bin/cloudlinux-awp-daemon reload
Restart=on-failure
RestartSec=5
TimeoutStopSec=10
KillMode=process
[Install]
WantedBy=multi-user.target