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:
Emily Prachnau 2019-06-21 15:59:23 -07:00
commit 082c607ecf
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.vscode
docs/

View File

@ -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