Remove superfluous .service string vom systemctl calls in ps5-mqtt script

This commit is contained in:
liecno 2025-01-04 12:09:57 +01:00
parent 15e8858ead
commit e2b8e9a41d

View File

@ -38,7 +38,7 @@ function update_script() {
if [[ "${RELEASE}" != "$(cat /opt/ps5-mqtt_version.txt)" ]]; then
msg_info "Stopping service"
systemctl stop ps5-mqtt.service
systemctl stop ps5-mqtt
msg_ok "Stopped service"
msg_info "Updating PS5-MQTT to ${RELEASE}"
@ -58,7 +58,7 @@ function update_script() {
msg_ok "Built new PS5-MQTT version"
msg_info "Starting service"
systemctl start ps5-mqtt.service
systemctl start ps5-mqtt
msg_ok "Started service"
else