insert ExecStartPre and ExecStop option into service file 92/15192/1
authorgiyeol.ok <giyeol.ok@samsung.com>
Tue, 18 Jun 2013 05:01:26 +0000 (14:01 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 17:06:47 +0000 (18:06 +0100)
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