Commit 04acc8b6 authored by Florent Revest's avatar Florent Revest

systemd: enable lingering on ceres

parent 6d71382e
...@@ -23,4 +23,13 @@ do_install_append() { ...@@ -23,4 +23,13 @@ do_install_append() {
install -m 0644 ${WORKDIR}/dbus.conf ${D}/etc/systemd/system/user@.service.d/dbus.conf install -m 0644 ${WORKDIR}/dbus.conf ${D}/etc/systemd/system/user@.service.d/dbus.conf
} }
pkg_postinst_${PN}() {
#!/bin/sh -e
if [ x"$D" = "x" ]; then
loginctl enable-linger ceres
else
exit 1
fi
}
PACKAGECONFIG_append += "pam" PACKAGECONFIG_append += "pam"
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