mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:45:05 +00:00
rpcbind: Add systemd service unit file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
845f6dccaf
commit
dc75cb086d
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=RPC Bind
|
||||||
|
After=network.target
|
||||||
|
Wants=rpcbind.target
|
||||||
|
Before=rpcbind.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/sbin/rpcbind
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
inherit systemd
|
||||||
|
|
||||||
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
|
|
||||||
|
# look for files in the layer first
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
|
SRC_URI += "file://rpcbind.service"
|
||||||
|
|
||||||
|
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||||
|
SYSTEMD_SERVICE = "rpcbind.service"
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user