Revert "service: Remove DISPLAY=:0 from all services" 22/177922/1
authorAdhavan M <adhavan.m@samsung.com>
Fri, 4 May 2018 10:29:20 +0000 (10:29 +0000)
committerAdhavan M <adhavan.m@samsung.com>
Fri, 4 May 2018 10:29:20 +0000 (10:29 +0000)
This reverts commit 1699dc9ae3c9bf2d8fae27b7611272ad2f2aa5f9.

Change-Id: Ia4fbb68f0bbe844511225ae6e5c5790b3f4dab57

packaging/sdbd_emulator.service
packaging/sdbd_emulator_tv.service
packaging/sdbd_tcp.service

index 5ace52d..9b87f40 100644 (file)
@@ -8,6 +8,7 @@ After=tmp.mount dbus.service
 User=sdk
 Group=sdk
 Type=simple
+Environment=DISPLAY=:0
 PIDFile=/tmp/.sdbd.pid
 RemainAfterExit=yes
 #If necessary, Put Environment variable settings in a file like below
index 8d45fea..3dc42e3 100644 (file)
@@ -10,6 +10,7 @@ Type=simple
 #Environment=SDBD_LOG_PATH=/tmp
 #If necessary, Put Environment variable settings in a file like below
 #ExecStartPre=/bin/bash -c "/bin/echo 'SDB_TRACE=all SDBD_LOG_PATH=/tmp' >> /tmp/.sdbdlog.conf"
+Environment=DISPLAY=:0
 PIDFile=/tmp/.sdbd.pid
 RemainAfterExit=yes
 OOMScoreAdjust=-1000
index fd5ec24..6871f29 100644 (file)
@@ -6,6 +6,7 @@ After=default.target
 User=sdk
 Group=sdk
 Type=simple
+Environment=DISPLAY=:0
 #If necessary, Put Environment variable settings in a file like below
 #ExecStartPre=/bin/bash -c "/bin/echo 'SDB_TRACE=all SDBD_LOG_PATH=/tmp' >> /tmp/.sdbdlog.conf"
 PIDFile=/tmp/.sdbd.pid