forked from enlightenment/efl
If the dbus service contains SystemdService entry and the dbus-daemon is started with --systemd-activation, then requests for services on the user session bus will be handled by systemd, creating cgroups and being handled as native systemd services of Type=dbus.efl-1.10
parent
4be9526cc2
commit
c52da37d0b
8 changed files with 75 additions and 0 deletions
@ -1,3 +1,4 @@ |
||||
[D-BUS Service] |
||||
Name=org.enlightenment.Efreet |
||||
Exec=@prefix@/bin/efreetd |
||||
@systemd_dbus_prefix@SystemdService=efreet.service |
||||
|
@ -1,3 +1,4 @@ |
||||
[D-BUS Service] |
||||
Name=org.enlightenment.Ethumb |
||||
Exec=@prefix@/bin/ethumbd |
||||
@systemd_dbus_prefix@SystemdService=ethumb.service |
||||
|
@ -0,0 +1,14 @@ |
||||
# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
||||
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
||||
# ------------------------------------------- |
||||
# Retrieves the value of the pkg-config variable for the given module. |
||||
AC_DEFUN([EFL_PKG_CHECK_VAR], |
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
||||
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
||||
|
||||
_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
||||
AS_VAR_COPY([$1], [pkg_cv_][$1]) |
||||
|
||||
AS_VAR_IF([$1], [""], [$5], [$4])dnl |
||||
])# PKG_CHECK_VAR |
||||
|
@ -0,0 +1,2 @@ |
||||
/efreet.service |
||||
/ethumb.service |
@ -0,0 +1,7 @@ |
||||
[Unit] |
||||
Description=Efreet Enlightenment FreeDesktop.Org Daemon |
||||
|
||||
[Service] |
||||
Type=dbus |
||||
BusName=org.enlightenment.Efreet |
||||
ExecStart=@prefix@/bin/efreetd |
@ -0,0 +1,7 @@ |
||||
[Unit] |
||||
Description=Enlightenment Thumbnailer |
||||
|
||||
[Service] |
||||
Type=dbus |
||||
BusName=org.enlightenment.Ethumb |
||||
ExecStart=@prefix@/bin/ethumbd |
Loading…
Reference in new issue