websoft9/apps/roles/mingdao/files/mingdao.service

10 lines
283 B
SYSTEMD
Raw Normal View History

2023-03-01 16:32:43 +08:00
[Unit]
Description=mingdao service
After=network.target
[Service]
Type=simple
2023-03-02 09:52:20 +08:00
ExecStart=/bin/bash -c "cd /data/apps/mingdao/installer && ./service.sh start && tail -f /dev/null"
2023-03-01 16:38:46 +08:00
ExecStop=-/bin/bash /data/apps/mingdao/installer/service.sh stopall
2023-03-01 16:32:43 +08:00
[Install]
WantedBy=multi-user.target