fixes service paths

This commit is contained in:
Bartosz Wieczorek 2025-11-27 20:44:46 +01:00
parent 4764c8ea0c
commit 1f9b84675d
3 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
# add_compile_options(-g -fsanitize=address,undefined,float-divide-by-zero,float-cast-overflow,null -fsanitize-address-use-after-scope -fno-sanitize-recover=all -fno-sanitize=alignment -fno-omit-frame-pointer)
# add_link_options(-g -fsanitize=address,undefined,float-divide-by-zero,float-cast-overflow,null -fsanitize-address-use-after-scope -fno-sanitize-recover=all -fno-sanitize=alignment -fno-omit-frame-pointer)
set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Install prefix" FORCE)
include(CheckIPOSupported)
check_ipo_supported(RESULT supported OUTPUT error)

View File

@ -7,7 +7,7 @@ Wants=network-online.target
Type=simple
User=@RANCZO_USER@
Group=@RANCZO_GROUP@
ExecStart=@CMAKE_INSTALL_BINDIR@/ranczo-io_floorheating
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/ranczo-io_floorheating
WorkingDirectory=/var/lib/ranczo-io/floorheating
Restart=on-failure
RestartSec=5

View File

@ -7,7 +7,7 @@ Wants=network-online.target
Type=simple
User=@RANCZO_USER@
Group=@RANCZO_GROUP@
ExecStart=@CMAKE_INSTALL_BINDIR@/ranczo-io_temperature
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/ranczo-io_temperature
WorkingDirectory=/var/lib/ranczo-io/temperature
Restart=on-failure
RestartSec=5