summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-12-29 16:46:13 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-01-12 14:47:49 +0100
commita474cfd1414bd01daf235c3cec71056713315d8a (patch)
treebf9298333a3309ee8b7c40ba8f4a0becbe4505fb /projectroot
parent34e1b360dcb94f7fe71a6e41a87ea0dff9106115 (diff)
downloadptxdist-a474cfd1414bd01daf235c3cec71056713315d8a.tar.gz
ptxdist-a474cfd1414bd01daf235c3cec71056713315d8a.tar.xz
rpcbind: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/lib/systemd/system/rpcbind.service16
-rw-r--r--projectroot/lib/systemd/system/rpcbind.socket8
2 files changed, 24 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/rpcbind.service b/projectroot/lib/systemd/system/rpcbind.service
new file mode 100644
index 000000000..6ee492f2a
--- /dev/null
+++ b/projectroot/lib/systemd/system/rpcbind.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=RPC bind portmap service
+After=systemd-tmpfiles-setup.service
+Wants=remote-fs-pre.target
+Before=remote-fs-pre.target
+Requires=rpcbind.socket
+DefaultDependencies=no
+
+[Service]
+ExecStart=/usr/bin/rpcbind -f
+Type=notify
+KillMode=process
+Restart=on-failure
+
+[Install]
+Also=rpcbind.socket
diff --git a/projectroot/lib/systemd/system/rpcbind.socket b/projectroot/lib/systemd/system/rpcbind.socket
new file mode 100644
index 000000000..d43cc75df
--- /dev/null
+++ b/projectroot/lib/systemd/system/rpcbind.socket
@@ -0,0 +1,8 @@
+[Unit]
+Description=RPCbind Server Activation Socket
+
+[Socket]
+ListenStream=/run/rpcbind.sock
+
+[Install]
+WantedBy=sockets.target