Skip to content

Commit

Permalink
Make reflect-apps service auto restart on fail, with limit
Browse files Browse the repository at this point in the history
  • Loading branch information
sakaki- committed Feb 25, 2020
1 parent 1e39ebe commit 8b98194
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions host-image/lib/systemd/system/[email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[Unit]
Description=Reflect %i Container's Apps as Launchers on Host
StartLimitIntervalSec=150
StartLimitBurst=20
[Service]
ExecStart=/usr/sbin/reflect-apps %i
Restart=on-failure
RestartSec=5

0 comments on commit 8b98194

Please sign in to comment.