r/unifi: Enable service auto restart
Automatically restart the UniFi service in case it crashes (which it tends to do quite frequently).
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
- reload systemd
|
||||
- restart unifi
|
||||
tags:
|
||||
- systemd
|
||||
- container
|
||||
- name: flush_handlers
|
||||
meta: flush_handlers
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ VolatileTmp=yes
|
||||
Notify=yes
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
PrivateTmp=yes
|
||||
ProtectClock=yes
|
||||
ProtectHome=yes
|
||||
|
||||
Reference in New Issue
Block a user