mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-09 04:11:16 +00:00
cloud9: add autorestart on crash
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@ Description=Cloud9 IDE
|
|||||||
ConditionPathExists=|/var/lib/cloud9
|
ConditionPathExists=|/var/lib/cloud9
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Restart=always
|
||||||
ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000
|
ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PRINC := "${@int(PRINC) + 2}"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user