This commit is contained in:
CrazyWolf13 2025-12-16 14:47:08 +01:00
parent 6d2f6183a0
commit 7ec74ce70a

View File

@ -83,7 +83,7 @@ function update() {
msg_info "Starting service" msg_info "Starting service"
if [[ "$OS" == "Alpine" ]]; then if [[ "$OS" == "Alpine" ]]; then
rc-service pihole-exporter start rc-service pihole-exporter start &>/dev/null
else else
systemctl start pihole-exporter systemctl start pihole-exporter
fi fi
@ -169,8 +169,8 @@ start_pre() {
} }
EOF EOF
chmod +x "$SERVICE_PATH" chmod +x "$SERVICE_PATH"
rc-update add pihole-exporter default $STD rc-update add pihole-exporter default
rc-service pihole-exporter start $STD rc-service pihole-exporter start
fi fi
msg_ok "Created and started service" msg_ok "Created and started service"