r/unifi: Enable service auto restart

Automatically restart the UniFi service in case it crashes (which it
tends to do quite frequently).
frigate-exporter
Dustin 2024-01-21 15:48:15 -06:00
parent 1bbcbcd929
commit bba55b5182
2 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,7 @@
- reload systemd
- restart unifi
tags:
- systemd
- container
- name: flush_handlers
meta: flush_handlers

View File

@ -13,6 +13,7 @@ VolatileTmp=yes
Notify=yes
[Service]
Restart=always
PrivateTmp=yes
ProtectClock=yes
ProtectHome=yes