forked from brl/citadel
renamed to launch-default-realm
This commit is contained in:
parent
86f6edfc6f
commit
69b9e8384e
@ -1,8 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Launch default appimg
|
|
||||||
ConditionPathExists=!/run/appimg
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/citadel-appimg start
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
@ -1,6 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Watch run-user service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/usr/bin/systemctl --no-block start launch-default-appimg.path
|
|
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Launch default realm
|
||||||
|
ConditionPathExists=!/run/realms
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/realms start
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Watch run-user service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/systemctl --no-block start launch-default-realm.path
|
@ -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"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
SECTION = ""
|
SECTION = ""
|
||||||
@ -7,7 +7,7 @@ DEPENDS = ""
|
|||||||
|
|
||||||
inherit systemd
|
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}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
@ -16,14 +16,14 @@ RDEPENDS_${PN} = "bash"
|
|||||||
|
|
||||||
FILES_${PN} += "\
|
FILES_${PN} += "\
|
||||||
${systemd_system_unitdir}/watch-run-user.service \
|
${systemd_system_unitdir}/watch-run-user.service \
|
||||||
${systemd_system_unitdir}/launch-default-appimg.path \
|
${systemd_system_unitdir}/launch-default-realm.path \
|
||||||
${systemd_system_unitdir}/launch-default-appimg.service \
|
${systemd_system_unitdir}/launch-default-realm.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${systemd_system_unitdir}
|
install -d ${D}${systemd_system_unitdir}
|
||||||
install -m 644 ${WORKDIR}/launch-default-appimg.path ${D}${systemd_system_unitdir}
|
install -m 644 ${WORKDIR}/launch-default-realm.path ${D}${systemd_system_unitdir}
|
||||||
install -m 644 ${WORKDIR}/launch-default-appimg.service ${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.path ${D}${systemd_system_unitdir}
|
||||||
install -m 644 ${WORKDIR}/watch-run-user.service ${D}${systemd_system_unitdir}
|
install -m 644 ${WORKDIR}/watch-run-user.service ${D}${systemd_system_unitdir}
|
||||||
}
|
}
|
@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Citadel Terminal
|
|
||||||
Exec=/bin/bash
|
|
||||||
Terminal=true
|
|
||||||
Type=Application
|
|
||||||
Icon=xterm
|
|
||||||
StartupNotify=false
|
|
Loading…
Reference in New Issue
Block a user