insert ExecStartPre and ExecStop option into service file
authorgiyeol.ok <giyeol.ok@samsung.com>
Tue, 18 Jun 2013 05:01:26 +0000 (14:01 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Mon, 9 Sep 2013 10:40:39 +0000 (10:40 +0000)
Change-Id: I6d2359f00768f63ff4231b1fbb1f8fcd3a38c5c1
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
systemd/system-server.service

index 22540c9..f548672 100644 (file)
@@ -6,7 +6,9 @@ After=vconf-setup.service
 # set DISPLAY for usb_setting launching
 Type=forking
 Environment=DISPLAY=:0
+ExecStartPre=/etc/init.d/device-daemon stop
 ExecStart=/usr/bin/device-daemon
+ExecStop=/etc/init.d/device-daemon stop
 TimeoutStopSec=2
 NotifyAccess=all