Commit 0a9683eb authored by Leo's avatar Leo
Browse files

Daemon: use CMAKE_INSTALL_FULL_BINDIR/ydotool instead of hardcoded path

parent 6a09972b
install(FILES ydotool.service DESTINATION /usr/lib/systemd/user/)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/ydotool.service.in"
"${PROJECT_BINARY_DIR}/ydotool.service"
@ONLY)
install(FILES "${PROJECT_BINARY_DIR}/ydotool.service" DESTINATION /usr/lib/systemd/user/)
......@@ -4,7 +4,7 @@ Description=Starts ydotoold service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/ydotoold
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/ydotoold
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
TimeoutSec=180
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment