websoft9/apps/roles/mingdao/files/mingdao.service

12 lines
347 B
SYSTEMD
Raw Normal View History

[Unit]
Description=mingdao service
After=network.target
[Service]
Type=simple
2022-11-22 09:28:46 +08:00
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
2022-11-22 09:28:46 +08:00
PIDFile=/data/apps/mingdao/installer/service.pid
[Install]
WantedBy=multi-user.target