mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
gateone: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
a55a931807
commit
365d5ec941
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=GateOne daemon
|
||||
ConditionPathExists=|/var/lib/gateone
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/var/lib/gateone
|
||||
ExecStart=/usr/bin/python gateone.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,11 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://gateone.service"
|
||||
|
||||
NATIVE_SYSTEMD_SUPPORT = "1"
|
||||
SYSTEMD_PACKAGES = "${PN}"
|
||||
SYSTEMD_SERVICE = "gateone.service"
|
||||
Reference in New Issue
Block a user