refactor: use service helpers for squid lifecycle

This commit is contained in:
007hacky007
2026-04-14 15:58:51 +02:00
parent 4927190592
commit fb1a95a418
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ function update_script() {
$STD squid -k parse
msg_ok "Validated Squid Configuration"
msg_info "Restarting Squid"
systemctl restart squid
safe_service_restart "squid"
msg_ok "Restarted Squid"
msg_ok "Updated ${APP}"
msg_ok "Updated successfully!"

View File

@@ -80,7 +80,7 @@ $STD squid -k parse
msg_ok "Validated Squid Configuration"
msg_info "Starting Service"
systemctl enable -q --now squid
enable_and_start_service "squid"
msg_ok "Started Service"
motd_ssh