mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
3ce139b5d6
commit
18b42b8718
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user