mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
799acb10bc
commit
fe9cbb0d3b
|
|
@ -3,6 +3,7 @@ Description=Cloud9 IDE
|
|||
ConditionPathExists=|/var/lib/cloud9
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user