diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-06-10 21:46:53 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:07 +0200 |
| commit | 23d5e850653e92a97bb06a678e5bc07249427f57 (patch) | |
| tree | 7e6a5baf0df29db9cd011dcb413fa251aab96519 /meta-systemd | |
| parent | 855e8d63a67aee347296e17e596d45be0d75ac9d (diff) | |
| download | meta-openembedded-23d5e850653e92a97bb06a678e5bc07249427f57.tar.gz | |
cloud9: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-systemd')
| -rw-r--r-- | meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | 9 | ||||
| -rw-r--r-- | meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend | 13 |
2 files changed, 22 insertions, 0 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 new file mode 100644 index 0000000000..714b465ccb --- /dev/null +++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Cloud9 IDE | ||
| 3 | ConditionPathExists=|/var/lib/cloud9 | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 | ||
| 7 | |||
| 8 | [Install] | ||
| 9 | WantedBy=multi-user.target | ||
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 new file mode 100644 index 0000000000..777d2f4a6f --- /dev/null +++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 1}" | ||
| 4 | |||
| 5 | inherit systemd | ||
| 6 | |||
| 7 | SRC_URI += "file://cloud9.service" | ||
| 8 | |||
| 9 | inherit systemd | ||
| 10 | |||
| 11 | NATIVE_SYSTEMD_SUPPORT = "1" | ||
| 12 | SYSTEMD_PACKAGES = "${PN}" | ||
| 13 | SYSTEMD_SERVICE_${PN} = "cloud9.service" | ||
