Update mingdao.service

This commit is contained in:
Darren 2023-03-02 10:20:12 +08:00 committed by GitHub
parent e7a773b71e
commit f0f20848e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]