fixes service names
This commit is contained in:
parent
dd413ac920
commit
55c4ba3d69
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user