summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2017-01-17 19:39:58 +0900
committerJiung Yu <jiung.yu@samsung.com>2017-01-17 02:40:56 -0800
commita0eec7e1ef7d58d3cf490586dd1a4dbae2f99abf (patch)
tree2979f98117b36bc3930a6f09a535888d7e886976
parenta49d97e9195b58a7b8bab4f3af0ea0ca5ec158b2 (diff)
downloadconnman-a0eec7e1ef7d58d3cf490586dd1a4dbae2f99abf.tar.gz
connman-a0eec7e1ef7d58d3cf490586dd1a4dbae2f99abf.tar.bz2
connman-a0eec7e1ef7d58d3cf490586dd1a4dbae2f99abf.zip
Change-Id: I683d96bef1b08acdd42bddf6eeedc659baad5d01 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
-rwxr-xr-xpackaging/connman.spec2
-rw-r--r--src/connman_tv.service.in9
2 files changed, 7 insertions, 4 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index ec6a4573..5db54f07 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -4,7 +4,7 @@
Name: connman
Version: 1.29
-Release: 19
+Release: 20
License: GPL-2.0+
Summary: Connection Manager
Url: http://connman.net
diff --git a/src/connman_tv.service.in b/src/connman_tv.service.in
index c0328467..3bc442a5 100644
--- a/src/connman_tv.service.in
+++ b/src/connman_tv.service.in
@@ -1,12 +1,15 @@
[Unit]
Description=Connection service
+After=net-config.service
+DefaultDependencies=no
[Service]
Type=dbus
BusName=net.connman
-RemainAfterExit=yes
-ExecStartPre=/usr/bin/dbus-send --system --dest=net.netconfig / net.netconfig.auto.activate
-ExecStart=/usr/sbin/connmand --noplugin vpn
+Restart=on-failure
+SmackProcessLabel=System
+ExecStart=@sbindir@/connmand -n --noplugin vpn
+StandardOutput=null
CapabilityBoundingSet=~CAP_MAC_ADMIN
CapabilityBoundingSet=~CAP_MAC_OVERRIDE