msp/script/msp.service
2025-07-16 15:06:49 +08:00

14 lines
344 B
Desktop File

[Unit]
Description=maneged service platform service
Documention=msp service to control msp service start or stoop
After=mariadb.service
Wants=systemd-networkd.service
Requires=nginx.service
[Service]
Type=forking
ExecStart=su - ymq -c "cd; py/msp/script/run.sh"
ExecStop=su - ymq "cd; bin/killname msp.py"
[Install]
WantedBy=multi-user.target