diff options
author | Yann Leprince <yann.leprince@ylep.fr> | 2016-12-21 14:32:54 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2016-12-21 14:32:54 -0500 |
commit | ee569be4d6189a68b38d2af162af00ff475b48e2 (patch) | |
tree | cc3a64954c8bc6965fa2b01b01aef6ba1d48ee90 | |
parent | 40ef74c9ce220cfc7cd146d2c8b16121ae4aef89 (diff) | |
download | rpcbind-ee569be4d6189a68b38d2af162af00ff475b48e2.tar.gz |
Fix boot dependency in systemd service file
From: Yann Leprince <yann.leprince@ylep.fr>
This fix ensures that a separate /var partition will be mounted before
rpcbind tries to write its status to /var/run.
Acked-by: NeilBrown <neilb@suse.com>
Signed-off-by: Yann Leprince <yann.leprince@ylep.fr>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | systemd/rpcbind.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
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. |