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
e7a773b71e
commit
f0f20848e4
@ -1,8 +1,9 @@
|
||||
[Unit]
|
||||
Description=mingdao service
|
||||
After=network.target
|
||||
After=network.target init-apps.service
|
||||
[Service]
|
||||
Type=simple
|
||||
# tail -f for living process, otherwise this service is exit
|
||||
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
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user