mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
Update mingdao.service
This commit is contained in:
parent
0466b283a9
commit
71c1b28d79
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue