summaryrefslogtreecommitdiff
path: root/core/rpcbind/rpcbind.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/rpcbind/rpcbind.service')
-rw-r--r--core/rpcbind/rpcbind.service12
1 files changed, 5 insertions, 7 deletions
diff --git a/core/rpcbind/rpcbind.service b/core/rpcbind/rpcbind.service
index 3bc764efc..1cb27e5c8 100644
--- a/core/rpcbind/rpcbind.service
+++ b/core/rpcbind/rpcbind.service
@@ -1,13 +1,11 @@
[Unit]
-Description=RPC Bind
-After=network.target
-Wants=rpcbind.target
-Before=rpcbind.target
+Description=RPC bind service
+Requires=rpcbind.socket
[Service]
Type=forking
-ExecStart=/usr/bin/rpcbind
-Restart=always
+EnvironmentFile=/etc/conf.d/rpcbind
+ExecStart=/usr/bin/rpcbind -w ${RPCBIND_ARGS}
[Install]
-WantedBy=multi-user.target
+Also=rpcbind.socket