Browse Source

Update podman-homeassistant-install.sh

tteckster 3 years ago
parent
commit
d3bc246994
1 changed files with 10 additions and 0 deletions
  1. 10 0
      setup/podman-homeassistant-install.sh

+ 10 - 0
setup/podman-homeassistant-install.sh

@@ -110,6 +110,16 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
 msg_ok "Customized Container"
   fi
 
+podman generate systemd \
+    --new --name homeassistant \
+    > /etc/systemd/system/homeassistant.service 
+systemctl enable homeassistant &>/dev/null
+
+podman generate systemd \
+    --new --name yacht \
+    > /etc/systemd/system/yacht.service 
+systemctl enable yacht &>/dev/null
+
 msg_info "Cleaning up"
 apt-get autoremove >/dev/null
 apt-get autoclean >/dev/null