This commit is contained in:
pik4li 2025-01-01 01:56:56 +01:00
parent 8e108f45d7
commit 75577906fa
2 changed files with 205 additions and 1 deletions

View file

@ -116,6 +116,7 @@ init_groups() {
setup_autostart() {
if command_exists systemctl; then
printf "%b\n" "${GREEN}Adding docker as a service to start automatically!${RC}"
"$ESCALATION_TOOL" systemctl enable --now docker
else
printf "%b\n" "${RED}The command 'systemctl' does not exist!${RC}"
@ -126,4 +127,4 @@ checkEnv
checkEscalationTool
install_components
init_groups
setup_autostart