merge with master
authorJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:08:42 +0000 (01:08 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:08:42 +0000 (01:08 +0900)
packaging/corewatcher [deleted file]
packaging/corewatcher.spec
src/corewatcher.service.in

diff --git a/packaging/corewatcher b/packaging/corewatcher
deleted file mode 100644 (file)
index b486538..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/usr/sbin/corewatcher &
\ No newline at end of file
index e7f4206..6ab6a21 100644 (file)
@@ -43,10 +43,6 @@ install -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/rc.d/init.d/corewatcher
 ln -s ../init.d/corewatcher %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S10corewatcher
 ln -s ../init.d/corewatcher %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S10corewatcher
 
-mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
-install -m 0644 corewatcher.service %{buildroot}%{_libdir}/systemd/system/corewatcher.service
-ln -s ../corewatcher.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/corewatcher.service
-
 %files
 %defattr(-,root,root,-)
 %config(noreplace) /etc/corewatcher/corewatcher.conf
@@ -57,5 +53,4 @@ ln -s ../corewatcher.service %{buildroot}%{_libdir}/systemd/system/multi-user.ta
 %{_sysconfdir}/rc.d/init.d/corewatcher
 %{_sysconfdir}/rc.d/rc3.d/S10corewatcher
 %{_sysconfdir}/rc.d/rc4.d/S10corewatcher
-%{_libdir}/systemd/system/corewatcher.service
-%{_libdir}/systemd/system/multi-user.target.wants/corewatcher.service
+%exclude %{_libdir}/systemd/system/corewatcher.service
index 0182ba4..a261532 100644 (file)
@@ -5,7 +5,7 @@ After=sysinit.target
 
 [Service]
 Type=forking
-ExecStart=@prefix@/sbin/corewatcher
+ExecStart=@prefix@/bin/corewatcher
 
 [Install]
 WantedBy=multi-user.target