summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/neard/neard
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-04-29 14:44:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-29 15:31:41 +0100
commitc42cc8fb38aee46f4778b9c68412a47ae5919923 (patch)
tree8eeb7036232571b498e4a10ae00c88d7ab4b5816 /meta/recipes-connectivity/neard/neard
parent9dae6e7be41294601f53adf76d1a0955b58c9cf1 (diff)
downloadpoky-c42cc8fb38aee46f4778b9c68412a47ae5919923.tar.gz
neard: add systemd unit file
Add a systemd unit file, and respect the sysvinit feature when installing the init script. (thanks to Jukka Rissanen for the unit file) (From OE-Core rev: e86538db13605953465aacc3f2fb7d719dad919e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/neard/neard')
-rw-r--r--meta/recipes-connectivity/neard/neard/neard.service.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/neard/neard/neard.service.in b/meta/recipes-connectivity/neard/neard/neard.service.in
new file mode 100644
index 0000000000..90e5302662
--- /dev/null
+++ b/meta/recipes-connectivity/neard/neard/neard.service.in
@@ -0,0 +1,13 @@
1[Unit]
2Description=NFC service
3After=syslog.target
4
5[Service]
6Type=dbus
7BusName=org.neard
8Restart=on-failure
9ExecStart=@installpath@/neard -n
10StandardOutput=null
11
12[Install]
13WantedBy=multi-user.target