Commit 8fe04826 authored by sage's avatar sage

Merge pull request #35 from nemomobile/jb24120

Prevent ssu startup when system is shutting down.
parents 0b1a2487 42fa1404
[D-BUS Service]
Interface=org.nemo.ssu
Name=org.nemo.ssu
Exec=/usr/bin/ssud
User=root
\ No newline at end of file
Exec=/bin/false
User=root
SystemdService=dbus-org.nemo.ssu.service
......@@ -36,6 +36,7 @@ Requires: ssu-network-proxy
# them for the vendor data packages to use
%attr(0755, -, -) %{_oneshotdir}/*
%{_bindir}/ssud
/lib/systemd/system/*.service
%{_datadir}/dbus-1/system-services/*.service
%{_sysconfdir}/dbus-1/system.d/*.conf
......
......@@ -13,10 +13,13 @@ SOURCES = ssuadaptor.cpp \
DBUS_SERVICE_NAME=org.nemo.ssu
systemd.files = ../systemd/dbus-$${DBUS_SERVICE_NAME}.service
systemd.path = /lib/systemd/system/
service.files = ../dbus/$${DBUS_SERVICE_NAME}.service
service.path = /usr/share/dbus-1/system-services/
conf.files = ../dbus/$${DBUS_SERVICE_NAME}.conf
conf.path = /etc/dbus-1/system.d/
INSTALLS += service conf
INSTALLS += systemd service conf
[Unit]
Description=SSU service
[Service]
Type=dbus
BusName=org.nemo.ssu
ExecStart=/usr/bin/ssud
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