调整acl 支持systemd的master.service,请check下

This commit is contained in:
ci 2022-06-15 17:15:26 +08:00
parent 8fdcf2d139
commit ead52a6875
2 changed files with 21 additions and 2 deletions

2
.gitignore vendored
View File

@ -27,7 +27,7 @@ x64/
build/
Debug/
Release/
dist/
#dist/
acl_cpp_vc2015.VC.VC.opendb
acl_cpp_vc2015.VC.db
app/gson/debug/

19
dist/master/system/master.service vendored Normal file
View File

@ -0,0 +1,19 @@
[Unit]
Description=LSB: acl - master framework to control services
After=network.service
[Service]
Type=forking
Restart=always
RestartSec=3
TimeoutSec=1min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=no
ExecStart=/etc/init.d/master start
ExecStop=/etc/init.d/master stop
ExecReload=/etc/init.d/master reload
[Install]
WantedBy=multi-user.target