diff options
author | kremlin <ian@kremlin.cc> | 2014-07-22 10:00:27 +0800 |
---|---|---|
committer | kremlin <ian@kremlin.cc> | 2014-07-22 10:00:27 +0800 |
commit | 6ddd43bef3b805832e0bc8d99463c93a541ff4ab (patch) | |
tree | e6c9b289a8feebe6e4255d9eb75391b04812ec34 | |
parent | 372afe0a5458fc3c46ad23265896d6f6a048b9e7 (diff) | |
download | systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.tar systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.tar.gz systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.tar.bz2 systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.tar.lz systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.tar.xz systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.tar.zst systembsd-6ddd43bef3b805832e0bc8d99463c93a541ff4ab.zip |
add DBus service files, change Makefile to install them
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | conf/org.freedesktop.hostname1.service | 3 | ||||
-rw-r--r-- | conf/org.freedesktop.locale1.service | 3 | ||||
-rw-r--r-- | conf/org.freedesktop.login1 | 3 | ||||
-rw-r--r-- | conf/org.freedesktop.timedate1.service | 3 |
5 files changed, 17 insertions, 7 deletions
@@ -49,12 +49,10 @@ _build_genfile_objs_debug: gcc -o bin/obj/logind-gen.o $(DEBUGF) $(GLIBOF) $(SANITY) -c $(INTFDIR)/logind/logind-gen.c _install_conf: - cp conf/*-dbus.conf /etc/dbus-1/system.d/ - cp conf/systemd_compat.conf /etc/ + cp conf/*-dbus.conf /etc/dbus-1/system.d/ + cp conf/systemd_compat.conf /etc/ + cp conf/org.freedesktop.*.service /usr/local/share/dbus-1/system-services/ _install_interface_binaries: $(LINKHN) - cp bin/systemd-hostnamed /usr/local/libexec/ - cp bin/systemd-localed /usr/local/libexec/ - cp bin/systemd-timedated /usr/local/libexec/ - cp bin/systemd-logind /usr/local/libexec/ - + mkdir /usr/local/bin/systemd-compat + cp bin/systemd-* /usr/local/bin/systemd-compat/ diff --git a/conf/org.freedesktop.hostname1.service b/conf/org.freedesktop.hostname1.service new file mode 100644 index 0000000..c02d3c4 --- /dev/null +++ b/conf/org.freedesktop.hostname1.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.hostname1 +Exec=/usr/local/bin/systemd-compat/systemd-hostnamed diff --git a/conf/org.freedesktop.locale1.service b/conf/org.freedesktop.locale1.service new file mode 100644 index 0000000..22cd8c1 --- /dev/null +++ b/conf/org.freedesktop.locale1.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.locale1 +Exec=/usr/local/bin/systemd-compat/systemd-localed diff --git a/conf/org.freedesktop.login1 b/conf/org.freedesktop.login1 new file mode 100644 index 0000000..ec47461 --- /dev/null +++ b/conf/org.freedesktop.login1 @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.login1 +Exec=/usr/local/bin/systemd-compat/systemd-logind diff --git a/conf/org.freedesktop.timedate1.service b/conf/org.freedesktop.timedate1.service new file mode 100644 index 0000000..f757f4a --- /dev/null +++ b/conf/org.freedesktop.timedate1.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.timedate1 +Exec=/usr/local/bin/systemd-compat/systemd-timedated |