service: Add some ENV setting in service file to fix usb_setting launch
authorYin Kangkai <kangkai.yin@intel.com>
Wed, 25 Jul 2012 14:49:18 +0000 (22:49 +0800)
committersh.pi <sh.pi@samsung.com>
Thu, 11 Oct 2012 12:40:13 +0000 (21:40 +0900)
Set DISPLAY so that system_server can fork and launch usb_setting

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Conflicts:

packaging/system-server.changes

packaging/system-server.service

index 232b67d..cc5b2ae 100644 (file)
@@ -2,6 +2,8 @@
 Description=Start the system server service
 
 [Service]
+# set DISPLAY for usb_setting launching
+Environment=DISPLAY=:0
 ExecStart=/usr/bin/system_server
 
 [Install]