Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
a94226bb
Commit
a94226bb
authored
Oct 02, 2020
by
David Edmundson
Browse files
Add systemd unit for BalooRunner
parent
8f7a12d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
runners/baloo/CMakeLists.txt
View file @
a94226bb
...
...
@@ -15,10 +15,6 @@ target_link_libraries(baloorunner
Qt5::DBus
)
configure_file
(
org.kde.baloorunner.service.in
${
CMAKE_CURRENT_BINARY_DIR
}
/org.kde.baloorunner.service
)
install
(
TARGETS baloorunner
DESTINATION
${
KDE_INSTALL_LIBEXECDIR
}
...
...
@@ -29,5 +25,10 @@ install(
DESTINATION
"
${
KDE_INSTALL_DATAROOTDIR
}
/krunner/dbusplugins"
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/org.kde.baloorunner.service
DESTINATION
${
KDE_INSTALL_DBUSSERVICEDIR
}
)
ecm_generate_dbus_service_file
(
NAME org.kde.runners.baloo
EXECUTABLE
${
KDE_INSTALL_FULL_LIBEXECDIR
}
/baloorunner
SYSTEMD_SERVICE plasma-baloorunner.service
DESTINATION
${
KDE_INSTALL_DBUSSERVICEDIR
}
)
ecm_install_configured_files
(
INPUT plasma-baloorunner.service.in @ONLY DESTINATION
${
SYSTEMD_USER_UNIT_INSTALL_DIR
}
)
runners/baloo/org.kde.baloorunner.service.in
deleted
100644 → 0
View file @
8f7a12d7
[D-BUS Service]
Name=org.kde.runners.baloo
Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/baloorunner
PartOf=graphical-session.target
runners/baloo/plasma-baloorunner.service.in
0 → 100644
View file @
a94226bb
[Unit]
Description=KRunner provider for baloo file indexer
PartOf=graphical-session.target
[Service]
ExecStart=@CMAKE_INSTALL_FULL_LIBEXECDIR@/baloorunner
Type=dbus
BusName=org.kde.runners.baloo
TimeoutSec=5sec
Slice=background.slice
Restart=no #as we're dbus activated anyway
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment