qf start service (podman)

This commit is contained in:
CanbiZ (MickLesk)
2026-03-18 18:52:07 +01:00
parent 73e6d4b855
commit d2e5991416
2 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ Restart=always
WantedBy=default.target multi-user.target WantedBy=default.target multi-user.target
EOF EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now portainer $STD systemctl start portainer
msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION" msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION"
else else
read -r -p "${TAB3}Would you like to add the Portainer Agent? <y/N> " prompt read -r -p "${TAB3}Would you like to add the Portainer Agent? <y/N> " prompt
@@ -96,7 +96,7 @@ Restart=always
WantedBy=default.target multi-user.target WantedBy=default.target multi-user.target
EOF EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now portainer-agent $STD systemctl start portainer-agent
msg_ok "Installed Portainer Agent $PORTAINER_AGENT_LATEST_VERSION" msg_ok "Installed Portainer Agent $PORTAINER_AGENT_LATEST_VERSION"
fi fi
fi fi
@@ -129,7 +129,7 @@ TimeoutStartSec=300
WantedBy=default.target multi-user.target WantedBy=default.target multi-user.target
EOF EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now homeassistant $STD systemctl start homeassistant
msg_ok "Installed Home Assistant" msg_ok "Installed Home Assistant"
motd_ssh motd_ssh

View File

@@ -71,7 +71,7 @@ Restart=always
WantedBy=default.target multi-user.target WantedBy=default.target multi-user.target
EOF EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now portainer $STD systemctl start portainer
msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION" msg_ok "Installed Portainer $PORTAINER_LATEST_VERSION"
else else
read -r -p "${TAB3}Would you like to add the Portainer Agent? <y/N> " prompt read -r -p "${TAB3}Would you like to add the Portainer Agent? <y/N> " prompt
@@ -96,7 +96,7 @@ Restart=always
WantedBy=default.target multi-user.target WantedBy=default.target multi-user.target
EOF EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now portainer-agent $STD systemctl start portainer-agent
msg_ok "Installed Portainer Agent $PORTAINER_AGENT_LATEST_VERSION" msg_ok "Installed Portainer Agent $PORTAINER_AGENT_LATEST_VERSION"
fi fi
fi fi