diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-04-10 16:14:21 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-11 11:33:39 +0200 |
commit | fe9cbb0d3b805ccb733f49bb3a9dcf9422668eeb (patch) | |
tree | 8b051443c425e8b977305d0516fda692220e09c6 /meta-systemd | |
parent | 799acb10bc21e6144ffa7e2f69c2b5032afff932 (diff) | |
download | meta-openembedded-fe9cbb0d3b805ccb733f49bb3a9dcf9422668eeb.tar.gz |
cloud9: add autorestart on crash
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd')
-rw-r--r-- | meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | 1 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service index 714b465ccb..f805ea94f4 100644 --- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service +++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service @@ -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] diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend index 777d2f4a6f..afa85bf17a 100644 --- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend +++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend @@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PRINC := "${@int(PRINC) + 1}" +PRINC := "${@int(PRINC) + 2}" inherit systemd |