corrected for root

This commit is contained in:
2026-01-12 09:30:48 -05:00
commit 5a6e065127

21
homeassistant.container Normal file
View File

@@ -0,0 +1,21 @@
[Unit]
Description=Home Assistant
[Container]
ContainerName=homeassistant
Image=ghcr.io/home-assistant/home-assistant:stable
AutoUpdate=registry
Network=host
PodmanArgs=--privileged
AddCapability=NET_ADMIN
AddCapability=NET_RAW
Volume=ha-config:/config
Volume=/etc/localtime:/etc/localtime:ro
Volume=/run/dbus:/run/dbus:ro
Environment=TZ=America/New_York
[Service]
Restart=unless-stopped
[Install]
WantedBy=default.target