mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
portmap: Add systemd service
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
4fe188b085
commit
2dbefd2915
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Portmap
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/portmap -l
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
FILESEXTRAPATHS := "${THISDIR}/${PN}"
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "portmap.service"
|
||||
SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
SRC_URI_append = " file://portmap.service"
|
||||
Loading…
Reference in New Issue
Block a user