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 714b465cc..f805ea94f 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 | |||
3 | ConditionPathExists=|/var/lib/cloud9 | 3 | ConditionPathExists=|/var/lib/cloud9 |
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Restart=always | ||
6 | ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 | 7 | ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 |
7 | 8 | ||
8 | [Install] | 9 | [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 777d2f4a6..afa85bf17 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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | PRINC := "${@int(PRINC) + 1}" | 3 | PRINC := "${@int(PRINC) + 2}" |
4 | 4 | ||
5 | inherit systemd | 5 | inherit systemd |
6 | 6 | ||