summaryrefslogtreecommitdiffstats
path: root/projectroot/lib/systemd/system/rpcbind.service
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/lib/systemd/system/rpcbind.service')
-rw-r--r--projectroot/lib/systemd/system/rpcbind.service16
1 files changed, 16 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