mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
cloud9: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Cloud9 IDE
|
||||
ConditionPathExists=|/var/lib/cloud9
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
EnvironmentFile=-/etc/default/node
|
||||
ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,20 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 3}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://cloud9.service"
|
||||
|
||||
inherit systemd
|
||||
|
||||
NATIVE_SYSTEMD_SUPPORT = "1"
|
||||
RPROVIDES_${PN} += "${PN}-systemd"
|
||||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN} = "cloud9.service"
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user