mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-25 01:54:44 +00:00
refactor(podman): replace deprecated commands with Quadlets
- Replace podman run --restart + podman generate systemd with systemd Quadlet .container unit files in /etc/containers/systemd/ - Affects: Home Assistant, Portainer, Portainer Agent - Remove workaround temp-volume create/remove for Portainer Agent - Update install check in ct/podman-homeassistant.sh to reference the Quadlet file instead of the old generated .service file podman generate systemd is deprecated since Podman 4.4 in favor of Quadlets (podman-systemd.unit(5)). Quadlets are natively integrated into systemd and do not require a running container to generate the unit file.
This commit is contained in:
@@ -23,7 +23,7 @@ function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
if [[ ! -f /etc/systemd/system/homeassistant.service ]]; then
|
||||
if [[ ! -f /etc/containers/systemd/homeassistant.container ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user