Merge pull request #11 in PAR/yap from bugfix/DEV-2457-yap-should-always-try-to-restart to master
* commit '352822b91617421067f1348485fb0efcfea4a263': Remove and ignore vscode files Use a simple type with Restart=on-failure to be more resllient
This commit is contained in:
commit
082c607ecf
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
.vscode
|
||||
docs/
|
||||
|
@ -4,11 +4,15 @@ BindsTo=node.service
|
||||
After=node.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
ExecStart=/usr/local/bin/yap start-all
|
||||
ExecStartPre=/usr/local/bin/yap start-all
|
||||
ExecStart=/usr/local/bin/yap check-policy-rules
|
||||
ExecStop=/usr/local/bin/yap stop-all
|
||||
ExecReload=/usr/local/bin/yap reload
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
StartLimitInterval=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user