mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 23:50:31 +00:00
Update and rename template.conf to mingdao.service
This commit is contained in:
parent
54253aeafe
commit
8b6bf10170
2 changed files with 11 additions and 0 deletions
11
apps/roles/mingdao/files/mingdao.service
Normal file
11
apps/roles/mingdao/files/mingdao.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[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
|
Loading…
Reference in a new issue