diff options
Diffstat (limited to 'meta-systemd')
| -rw-r--r-- | meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service | 10 | ||||
| -rw-r--r-- | meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service new file mode 100644 index 0000000000..7ff60020a0 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone/gateone.service | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=GateOne daemon | ||
| 3 | ConditionPathExists=|/var/lib/gateone | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | WorkingDirectory=/var/lib/gateone | ||
| 7 | ExecStart=/usr/bin/python gateone.py | ||
| 8 | |||
| 9 | [Install] | ||
| 10 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend new file mode 100644 index 0000000000..dd5fea1a96 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-connectivity/gateone/gateone_git.bbappend | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 1}" | ||
| 4 | |||
| 5 | inherit systemd | ||
| 6 | |||
| 7 | SRC_URI += "file://gateone.service" | ||
| 8 | |||
| 9 | NATIVE_SYSTEMD_SUPPORT = "1" | ||
| 10 | SYSTEMD_PACKAGES = "${PN}" | ||
| 11 | SYSTEMD_SERVICE = "gateone.service" | ||
