From ee569be4d6189a68b38d2af162af00ff475b48e2 Mon Sep 17 00:00:00 2001 From: Yann Leprince Date: Wed, 21 Dec 2016 14:32:54 -0500 Subject: Fix boot dependency in systemd service file From: Yann Leprince This fix ensures that a separate /var partition will be mounted before rpcbind tries to write its status to /var/run. Acked-by: NeilBrown Signed-off-by: Yann Leprince Signed-off-by: Steve Dickson --- systemd/rpcbind.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in index e7e86da..03a9e0b 100644 --- a/systemd/rpcbind.service.in +++ b/systemd/rpcbind.service.in @@ -2,6 +2,7 @@ Description=RPC Bind Documentation=man:rpcbind(8) DefaultDependencies=no +RequiresMountsFor=@statedir@ # Make sure we use the IP addresses listed for # rpcbind.socket, no matter how this unit is started. -- cgit v1.2.1