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:
Koen Kooi 2013-04-10 16:14:21 +00:00 committed by Martin Jansa
parent 799acb10bc
commit fe9cbb0d3b
2 changed files with 2 additions and 1 deletions

View File

@ -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]

View File

@ -1,6 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 1}"
PRINC := "${@int(PRINC) + 2}"
inherit systemd