mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-26 12:33:09 +08:00
12 lines
356 B
SYSTEMD
12 lines
356 B
SYSTEMD
|
[Unit]
|
||
|
Description=mingdao service
|
||
|
After=network.target
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/bin/bash /data/wwwroot/mingdao/installer/service.sh start
|
||
|
ExecStop=-/bin/bash /data/wwwroot/mingdao/installer/service.sh stop
|
||
|
ExecStopPost=-/usr/bin/pkill mingdaoyun
|
||
|
PIDFile=/data/wwwroot/mingdao/installer/service.pid
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|