summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2013-04-10 16:14:21 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-11 11:33:39 +0200
commitfe9cbb0d3b805ccb733f49bb3a9dcf9422668eeb (patch)
tree8b051443c425e8b977305d0516fda692220e09c6 /meta-systemd
parent799acb10bc21e6144ffa7e2f69c2b5032afff932 (diff)
downloadmeta-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.service1
-rw-r--r--meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend2
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
3ConditionPathExists=|/var/lib/cloud9 3ConditionPathExists=|/var/lib/cloud9
4 4
5[Service] 5[Service]
6Restart=always
6ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 7ExecStart=/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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3PRINC := "${@int(PRINC) + 1}" 3PRINC := "${@int(PRINC) + 2}"
4 4
5inherit systemd 5inherit systemd
6 6