[oe-commits] Ross Burton : neard: update service file

git at git.openembedded.org git at git.openembedded.org
Fri Oct 10 15:44:56 UTC 2014


Module: openembedded-core.git
Branch: dizzy
Commit: b6afd8e5abcd412c17e14c59379b9583b95fd517
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b6afd8e5abcd412c17e14c59379b9583b95fd517

Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Jun 24 10:45:58 2014 +0100

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 at intel.com>

---

 meta/recipes-connectivity/neard/neard/neard.service.in | 6 +++---
 1 file 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 90e5302..a6f8a84 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



More information about the Openembedded-commits mailing list