mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
11 lines
362 B
Desktop File
11 lines
362 B
Desktop File
[Unit]
|
|
Description=mingdao service
|
|
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]
|
|
WantedBy=multi-user.target
|