websoft9/apps/roles/mingdao/files/mingdao.service
2022-11-22 09:28:46 +08:00

12 lines
347 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 stop
ExecStopPost=-/usr/bin/pkill mingdaoyun
PIDFile=/data/apps/mingdao/installer/service.pid
[Install]
WantedBy=multi-user.target