SUMMARY = "systemd user configuration" DESCRIPTION = "Reboot system when systemd user instance exits" LICENSE = "CLOSED" SRC_URI = "file://01-unit-reboot-on-exit.conf" FILES:${PN} = "${systemd_unitdir}" do_install:append() { install -D -m 0644 ${WORKDIR}/01-unit-reboot-on-exit.conf \ ${D}/${systemd_unitdir}/system/user@2000.service.d/01-unit-reboot-on-exit.conf }