diff options
author | Ross Burton <ross.burton@intel.com> | 2014-06-24 10:45:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-10 16:44:32 +0100 |
commit | 18b42b871857cd913b651f27699a96f311836143 (patch) | |
tree | d01a394d081e64de8a6e241a1dd08f166acc5bab | |
parent | 3ce139b5d6d2769066f27ece4b54919e3264f419 (diff) | |
download | poky-18b42b871857cd913b651f27699a96f311836143.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.
(From OE-Core rev: b6afd8e5abcd412c17e14c59379b9583b95fd517)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/neard/neard/neard.service.in | 6 |
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 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=NFC service | 2 | Description=neard service |
3 | Documentation=man:neard(8) | ||
3 | After=syslog.target | 4 | After=syslog.target |
4 | 5 | ||
5 | [Service] | 6 | [Service] |
6 | Type=dbus | 7 | Type=dbus |
7 | BusName=org.neard | 8 | BusName=org.neard |
8 | Restart=on-failure | ||
9 | ExecStart=@installpath@/neard -n | 9 | ExecStart=@installpath@/neard -n |
10 | StandardOutput=null | ||
11 | 10 | ||
12 | [Install] | 11 | [Install] |
12 | Alias=dbus-org.neard.service | ||
13 | WantedBy=multi-user.target | 13 | WantedBy=multi-user.target |