fixes service names

This commit is contained in:
Bartosz Wieczorek 2025-11-27 20:30:11 +01:00
parent dd413ac920
commit 55c4ba3d69
8 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ case "$1" in
# adduser --system --group --no-create-home ranczoio || true
systemctl daemon-reload || true
systemctl enable --now ranczo-io-floorheating.service || true
systemctl enable --now ranczo-io_floorheating.service || true
;;
esac

View File

@ -6,7 +6,7 @@ case "$1" in
systemctl daemon-reload || true
;;
purge)
systemctl disable ranczo-io-floorheating.service || true
systemctl disable ranczo-io_floorheating.service || true
systemctl daemon-reload || true
;;
esac

View File

@ -3,7 +3,7 @@ set -e
case "$1" in
remove|upgrade|deconfigure)
systemctl stop ranczo-io-floorheating.service || true
systemctl stop ranczo-io_floorheating.service || true
;;
esac

View File

@ -13,7 +13,7 @@ Restart=on-failure
RestartSec=5
# /run/ranczo-io-floorheating będzie robione automatycznie
RuntimeDirectory=ranczo-io-floorheating
RuntimeDirectory=ranczo-io_floorheating
RuntimeDirectoryMode=0755
[Install]

View File

@ -7,7 +7,7 @@ case "$1" in
# adduser --system --group --no-create-home ranczoio || true
systemctl daemon-reload || true
systemctl enable --now ranczo-io-temperature.service || true
systemctl enable --now ranczo-io_temperature.service || true
;;
esac

View File

@ -6,7 +6,7 @@ case "$1" in
systemctl daemon-reload || true
;;
purge)
systemctl disable ranczo-io-temperature.service || true
systemctl disable ranczo-io_temperature.service || true
systemctl daemon-reload || true
;;
esac

View File

@ -3,7 +3,7 @@ set -e
case "$1" in
remove|upgrade|deconfigure)
systemctl stop ranczo-io-temperature.service || true
systemctl stop ranczo-io_temperature.service || true
;;
esac

View File

@ -13,7 +13,7 @@ Restart=on-failure
RestartSec=5
# /run/ranczo-io-temperature będzie robione automatycznie
RuntimeDirectory=ranczo-io-temperature
RuntimeDirectory=ranczo-io_temperature
RuntimeDirectoryMode=0755
[Install]