mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
Update mingdao.service
This commit is contained in:
parent
0466b283a9
commit
71c1b28d79
@ -3,9 +3,7 @@ Description=mingdao service
|
||||
After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /data/apps/mingdao/installer/service.sh start
|
||||
ExecStart=/bin/bash -c "cd /data/apps/mingdao/installer && ./service.sh start && tail -f /dev/null"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user