mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Create mingdao.service
This commit is contained in:
parent
7a11be86ee
commit
9240a8d930
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 New Issue
Block a user