Commit 7cc98858 authored by Florent Revest's avatar Florent Revest

ngfd: Start as part of user@1000

parent a838ed9e
[Unit]
Description=Non Graphical Feedback Daemon
Requires=dbus.socket
[Service]
Type=dbus
TimeoutSec=15
ExecStart=/usr/bin/ngfd
Restart=always
BusName=com.nokia.NonGraphicFeedback1.Backend
[Install]
WantedBy=multi-user.target
......@@ -4,7 +4,8 @@ LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://git.merproject.org/mer-core/ngfd.git;protocol=https \
file://ngfd.ini"
file://ngfd.ini \
file://ngfd.service"
SRCREV = "fbeea2a48bebd3faaac1ee84a144f797ac9006fc"
PR = "r1"
PV = "+git${SRCREV}"
......@@ -19,9 +20,13 @@ do_configure_prepend() {
do_install_append() {
cp ../ngfd.ini ${D}/usr/share/ngfd/ngfd.ini
install -d ${D}/usr/lib/systemd/user/default.target.wants/
cp ../ngfd.service ${D}/usr/lib/systemd/user/
ln -s ../ngfd.service ${D}/usr/lib/systemd/user/default.target.wants/ngfd.service
}
inherit autotools pkgconfig
FILES_${PN}-dbg += "/usr/lib/ngf/.debug/"
FILES_${PN} += "/usr/lib/ngf /usr/share/dbus-1"
FILES_${PN} += "/usr/lib/ngf /usr/share/dbus-1 /usr/lib/systemd/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment