Change-Id: I2420fc1d679607bd2d9b855ec9547a31ee98290e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
EnvironmentFile=-/run/tizen-system-env
PIDFile=/tmp/.sdbd.pid
Restart=on-failure
+SmackProcessLabel=System::Privileged
ExecStart=/usr/sbin/sdbd
[Install]
PIDFile=/tmp/.sdbd.pid
RemainAfterExit=yes
#ExecStartPre=/bin/bash -c "/bin/echo '10.0.2.15/32 system::debugging_network' >> /smack/netlabel"
+SmackProcessLabel=System::Privileged
ExecStart=/bin/sh -c "/usr/sbin/sdbd `/usr/bin/awk '{match($0, /sdb_port=([0-9]+)/,port_match); match($0, /vm_name=([^, ]*)/,vm_match); print \"--emulator=\" vm_match[1] \":\" port_match[1] \" --connect-to=10.0.2.2:26099\" \" --sensors=10.0.2.2:\"port_match[1]+3 }' /proc/cmdline`"
[Install]
Environment=DISPLAY=:0
PIDFile=/tmp/.sdbd.pid
RemainAfterExit=yes
+SmackProcessLabel=System::Privileged
ExecStart=/usr/sbin/sdbd --listen-port=26101