fixes service paths
This commit is contained in:
parent
4764c8ea0c
commit
1f9b84675d
@ -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)
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user