corrected for root
This commit is contained in:
21
homeassistant.container
Normal file
21
homeassistant.container
Normal 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
|
||||
Reference in New Issue
Block a user