Re: [PATCH] rpc-statd-notify: Don't wait for the network to come up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 02/09/2015 09:07 AM, Steve Dickson wrote:
> rpc-statd-notify only needs to wait for the network
> interface to be configured not to be connected since
> it forks into background and will wait 15mins for
> the network to come up.
> 
> This decrease boot times when networks are not
> and will not be connected.
> 
> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
> Reported-By: Eric Work <work.eric@xxxxxxxxx>
Committed... 

steved.
> ---
>  systemd/rpc-statd-notify.service | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service
> index 941afe5..a655445 100644
> --- a/systemd/rpc-statd-notify.service
> +++ b/systemd/rpc-statd-notify.service
> @@ -1,7 +1,7 @@
>  [Unit]
>  Description=Notify NFS peers of a restart
>  Requires=network-online.target
> -After=network-online.target nss-lookup.target
> +After=network.target nss-lookup.target
>  
>  # if we run an nfs server, it needs to be running before we
>  # tell clients that it has restarted.
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux