summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Laako <jussi.laako@linux.intel.com>2014-12-19 18:01:36 +0200
committerJussi Laako <jussi.laako@linux.intel.com>2014-12-19 18:01:36 +0200
commit7205ca5442c3c3f48bbccf2b707df15a3e3da32a (patch)
treea7d7066551f435a88f030ec394152b918410de35
parent324275e371f113970613ab01866a5f61c7b722a9 (diff)
downloadgsignond-7205ca5442c3c3f48bbccf2b707df15a3e3da32a.tar.gz
gsignond-7205ca5442c3c3f48bbccf2b707df15a3e3da32a.tar.bz2
gsignond-7205ca5442c3c3f48bbccf2b707df15a3e3da32a.zip
Change-Id: I4246db00badd4eca907b32a0ef3b33cdfac4d7a6 Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
-rw-r--r--data/gsignond.service2
-rw-r--r--packaging/gsignond.spec6
2 files changed, 4 insertions, 4 deletions
diff --git a/data/gsignond.service b/data/gsignond.service
index 8402adb..35be4a4 100644
--- a/data/gsignond.service
+++ b/data/gsignond.service
@@ -1,6 +1,6 @@
[Unit]
Description=Single SignOn Daemon
-Requires=dbus.service
+Requires=dbus.socket
[Service]
ExecStart=/usr/bin/gsignond
diff --git a/packaging/gsignond.spec b/packaging/gsignond.spec
index 7aa4397..495556f 100644
--- a/packaging/gsignond.spec
+++ b/packaging/gsignond.spec
@@ -69,8 +69,8 @@ rm -rf %{buildroot}
%make_install
install -m 755 -d %{buildroot}%{_unitdir_user}
install -m 644 data/gsignond.service %{buildroot}%{_unitdir_user}/
-install -m 755 -d %{buildroot}%{_unitdir_user}/weston.target.wants
-ln -sf ../gsignond.service %{buildroot}%{_unitdir_user}/weston.target.wants/gsignond.service
+install -m 755 -d %{buildroot}%{_unitdir_user}/default.target.wants
+ln -sf ../gsignond.service %{buildroot}%{_unitdir_user}/default.target.wants/gsignond.service
install -m 755 -d %{buildroot}%{_sysconfdir}/gumd/userdel.d/
install -m 755 gsignond-cleandb %{buildroot}%{_sysconfdir}/gumd/userdel.d/
@@ -94,7 +94,7 @@ getent group gsignond > /dev/null || /usr/sbin/groupadd -r gsignond
%{_datadir}/dbus-1/services/*SingleSignOn*.service
%endif
%{_unitdir_user}/gsignond.service
-%{_unitdir_user}/weston.target.wants/gsignond.service
+%{_unitdir_user}/default.target.wants/gsignond.service
%config(noreplace) %{_sysconfdir}/gsignond.conf
%{_sysconfdir}/gumd/userdel.d/