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
|
- reload systemd
|
||||||
- restart unifi
|
- restart unifi
|
||||||
tags:
|
tags:
|
||||||
- systemd
|
- container
|
||||||
- name: flush_handlers
|
- name: flush_handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ VolatileTmp=yes
|
||||||
Notify=yes
|
Notify=yes
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Restart=always
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
ProtectClock=yes
|
ProtectClock=yes
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
|
|
Loading…
Reference in New Issue