r/unifi: Enable service auto restart
Automatically restart the UniFi service in case it crashes (which it tends to do quite frequently).frigate-exporter
parent
1bbcbcd929
commit
bba55b5182
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue