websoft9/apps/roles/mingdao/files/mingdao.service
2023-03-01 16:38:46 +08:00

12 lines
339 B
Desktop File

[Unit]
Description=mingdao service
After=network.target
[Service]
Type=simple
ExecStart=/bin/bash /data/apps/mingdao/installer/service.sh start
ExecStop=-/bin/bash /data/apps/mingdao/installer/service.sh stopall
ExecStopPost=-/usr/bin/pkill mingdaoyun
PIDFile=/data/apps/mingdao/installer/service.pid
[Install]
WantedBy=multi-user.target