From 694721b13d14fdd29b3c1ac781121f0d67bdbbb9 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 3 Sep 2014 18:26:36 -0400 Subject: [PATCH] Linux: Refine openafs-client.service dependencies Make sure that openafs-client is started after the network is online, and before services that need remote-fs at startup. Signed-off-by: Anders Kaseorg Reviewed-on: http://gerrit.openafs.org/11441 Reviewed-by: Chaskiel Grundman Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Jeffrey Altman (cherry picked from commit cadaea4f86427c4dc74f56fc66707e8cfb0166cb) Change-Id: I42aea5dff364e1005808b6ae926f6cf1bf2e0d61 Reviewed-on: http://gerrit.openafs.org/11534 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Benjamin Kaduk Reviewed-by: Stephan Wiesand --- src/packaging/RedHat/openafs-client.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service index 936762e6c8..1a34c0c178 100644 --- a/src/packaging/RedHat/openafs-client.service +++ b/src/packaging/RedHat/openafs-client.service @@ -1,6 +1,8 @@ [Unit] Description=OpenAFS Client Service -After=syslog.target network.target +Wants=network-online.target +After=syslog.target network-online.target +Before=remote-fs.target [Service] Type=forking