diff options
author | Sangchul Lee <sc11.lee@samsung.com> | 2016-11-15 11:09:32 +0900 |
---|---|---|
committer | Seungbae Shin <seungbae.shin@samsung.com> | 2016-11-17 22:23:38 +0900 |
commit | 0cb0a08aae506e747a5a57fbd98f8bc01886c440 (patch) | |
tree | 70543e309ca026708dcd7f4e8d216e352314b3b0 | |
parent | 9fae47dc621fd31a81c41894962576d31c3b06ea (diff) | |
download | murphy-0cb0a08aae506e747a5a57fbd98f8bc01886c440.tar.gz murphy-0cb0a08aae506e747a5a57fbd98f8bc01886c440.tar.bz2 murphy-0cb0a08aae506e747a5a57fbd98f8bc01886c440.zip |
Modify spec and service file
Change value of WantedBy field to multi-user.target
Change-Id: I6fae41114ed53f461543c5351d2e5cef630c63bb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
-rw-r--r-- | packaging/murphy.spec | 4 | ||||
-rw-r--r-- | packaging/murphyd.service | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packaging/murphy.spec b/packaging/murphy.spec index f8c9355..45511b7 100644 --- a/packaging/murphy.spec +++ b/packaging/murphy.spec @@ -293,8 +293,9 @@ mkdir -p %{buildroot}%{_tmpfilesdir} cp packaging/murphyd.conf %{buildroot}%{_tmpfilesdir} # Copy the systemd files in place. -mkdir -p %{buildroot}%{_unitdir} +mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants cp packaging/murphyd.service %{buildroot}%{_unitdir} +ln -sf ../murphyd.service %{buildroot}%{_unitdir}/multi-user.target.wants/murphyd.service %if %{with dbus} mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d @@ -355,6 +356,7 @@ ldconfig %manifest murphy.manifest %{_bindir}/murphyd %config %{_sysconfdir}/murphy +%{_unitdir}/multi-user.target.wants/murphyd.service %{_unitdir}/murphyd.service %{_tmpfilesdir}/murphyd.conf %if %{with dbus} diff --git a/packaging/murphyd.service b/packaging/murphyd.service index c31e165..dba4be5 100644 --- a/packaging/murphyd.service +++ b/packaging/murphyd.service @@ -10,4 +10,4 @@ Group=multimedia_fw SmackProcessLabel=System [Install] -WantedBy=default.target +WantedBy=multi-user.target |