websoft9/apps/roles/mingdao/files/mingdao.service
2023-03-02 09:52:20 +08:00

10 lines
283 B
Desktop File

[Unit]
Description=mingdao service
After=network.target
[Service]
Type=simple
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