mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-20 19:58:34 +00:00
gateone: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
1 parent
fd84ec341f
commit
1e29c4586e
3 files changed
+8
-18
No files matched your search
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=GateOne daemon
|
||||
ConditionPathExists=|/var/lib/gateone
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/var/lib/gateone
|
||||
ExecStart=/usr/bin/python gateone.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,16 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://gateone.service"
|
||||
|
||||
NATIVE_SYSTEMD_SUPPORT = "1"
|
||||
SYSTEMD_SERVICE_${PN} = "gateone.service"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user