diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-10-29 17:28:48 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2013-01-08 09:31:52 -0800 |
commit | dc75cb086d6f3c79c4ab2371ac36e9c829032e94 (patch) | |
tree | d1b53568bd6a78f2d571a0e3a2b265e5101a1989 | |
parent | 845f6dccafb6eb9c5e89b7b14319c951f7a96c24 (diff) | |
download | meta-openembedded-dc75cb086d6f3c79c4ab2371ac36e9c829032e94.tar.gz |
rpcbind: Add systemd service unit file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind/rpcbind.service | 13 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind/rpcbind.service new file mode 100644 index 000000000..a028acebe --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind/rpcbind.service | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=RPC Bind | ||
3 | After=network.target | ||
4 | Wants=rpcbind.target | ||
5 | Before=rpcbind.target | ||
6 | |||
7 | [Service] | ||
8 | Type=forking | ||
9 | ExecStart=/usr/sbin/rpcbind | ||
10 | Restart=always | ||
11 | |||
12 | [Install] | ||
13 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend new file mode 100644 index 000000000..0fa7f9761 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend | |||
@@ -0,0 +1,12 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | PRINC := "${@int(PRINC) + 1}" | ||
4 | |||
5 | # look for files in the layer first | ||
6 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
7 | |||
8 | SRC_URI += "file://rpcbind.service" | ||
9 | |||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
11 | SYSTEMD_SERVICE = "rpcbind.service" | ||
12 | |||