Skip to content

Commit 8b98194

Browse files
committed
Make reflect-apps service auto restart on fail, with limit
1 parent 1e39ebe commit 8b98194

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Unit]
22
Description=Reflect %i Container's Apps as Launchers on Host
3+
StartLimitIntervalSec=150
4+
StartLimitBurst=20
35
46
[Service]
57
ExecStart=/usr/sbin/reflect-apps %i
8+
Restart=on-failure
9+
RestartSec=5

0 commit comments

Comments
 (0)