mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-29 10:27:39 +08:00
调整acl 支持systemd的master.service,请check下
This commit is contained in:
parent
8fdcf2d139
commit
ead52a6875
4
.gitignore
vendored
4
.gitignore
vendored
@ -27,7 +27,7 @@ x64/
|
||||
build/
|
||||
Debug/
|
||||
Release/
|
||||
dist/
|
||||
#dist/
|
||||
acl_cpp_vc2015.VC.VC.opendb
|
||||
acl_cpp_vc2015.VC.db
|
||||
app/gson/debug/
|
||||
@ -156,4 +156,4 @@ android/acl/gradle
|
||||
.vs
|
||||
.vscode
|
||||
|
||||
cmake-build-debug
|
||||
cmake-build-debug
|
||||
|
19
dist/master/system/master.service
vendored
Normal file
19
dist/master/system/master.service
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user