renamed to launch-default-realm

This commit is contained in:
Bruce Leidl 2018-03-18 19:20:36 -04:00
parent 86f6edfc6f
commit 69b9e8384e
8 changed files with 20 additions and 27 deletions

View File

@ -1,8 +0,0 @@
[Unit]
Description=Launch default appimg
ConditionPathExists=!/run/appimg
[Service]
ExecStart=/usr/bin/citadel-appimg start
Type=oneshot
RemainAfterExit=yes

View File

@ -1,6 +0,0 @@
[Unit]
Description=Watch run-user service
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl --no-block start launch-default-appimg.path

View File

@ -0,0 +1,8 @@
[Unit]
Description=Launch default realm
ConditionPathExists=!/run/realms
[Service]
ExecStart=/usr/bin/realms start
Type=oneshot
RemainAfterExit=yes

View File

@ -0,0 +1,6 @@
[Unit]
Description=Watch run-user service
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl --no-block start launch-default-realm.path

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Install systemd unit file to automatically start default appimg"
DESCRIPTION = "Install systemd unit file to automatically start default realm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SECTION = ""
@ -7,7 +7,7 @@ DEPENDS = ""
inherit systemd
SRC_URI = "file://launch-default-appimg.path file://launch-default-appimg.service file://watch-run-user.path file://watch-run-user.service"
SRC_URI = "file://launch-default-realm.path file://launch-default-realm.service file://watch-run-user.path file://watch-run-user.service"
S = "${WORKDIR}"
@ -16,14 +16,14 @@ RDEPENDS_${PN} = "bash"
FILES_${PN} += "\
${systemd_system_unitdir}/watch-run-user.service \
${systemd_system_unitdir}/launch-default-appimg.path \
${systemd_system_unitdir}/launch-default-appimg.service \
${systemd_system_unitdir}/launch-default-realm.path \
${systemd_system_unitdir}/launch-default-realm.service \
"
do_install() {
install -d ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/launch-default-appimg.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/launch-default-appimg.service ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/launch-default-realm.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/launch-default-realm.service ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/watch-run-user.path ${D}${systemd_system_unitdir}
install -m 644 ${WORKDIR}/watch-run-user.service ${D}${systemd_system_unitdir}
}

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Name=Citadel Terminal
Exec=/bin/bash
Terminal=true
Type=Application
Icon=xterm
StartupNotify=false