aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-06-24 10:45:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-10 10:39:12 +0100
commitb6afd8e5abcd412c17e14c59379b9583b95fd517 (patch)
treee40415b4374a408e4d9f3b278bf11721035691bb
parent40257640dcc000209c7d39011d65fdd1a82b3d76 (diff)
downloadopenembedded-core-contrib-b6afd8e5abcd412c17e14c59379b9583b95fd517.tar.gz
neard: update service file
Update the service file to more closely match the service file that has been committed upstream. In particular we don't want to restart neard on failure (this results in it restarting repeatedly if no NFC hardware is found), redirecting stdout to /dev/null means that any messages are lost instead of being sent to the journal, and the DBus alias is required for bus activation to work correctly. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-connectivity/neard/neard/neard.service.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/neard/neard/neard.service.in b/meta/recipes-connectivity/neard/neard/neard.service.in
index 90e5302662..a6f8a84180 100644
--- a/meta/recipes-connectivity/neard/neard/neard.service.in
+++ b/meta/recipes-connectivity/neard/neard/neard.service.in
@@ -1,13 +1,13 @@
[Unit]
-Description=NFC service
+Description=neard service
+Documentation=man:neard(8)
After=syslog.target
[Service]
Type=dbus
BusName=org.neard
-Restart=on-failure
ExecStart=@installpath@/neard -n
-StandardOutput=null
[Install]
+Alias=dbus-org.neard.service
WantedBy=multi-user.target