Skip to content

Commit

Permalink
Merge pull request #129 from mariux64/retry-exports
Browse files Browse the repository at this point in the history
nfsd.service: Retry exports
  • Loading branch information
pmenzel authored Jul 6, 2020
2 parents ae75fce + 44f4cc6 commit 9c3aedb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc_systemd_units/nfsd.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ExecStartPre=/bin/mkdir -p /var/lib/nfs/v4recovery
ExecStartPre=/usr/sbin/exportfs -ra
ExecStart=/usr/sbin/rpc.mountd --foreground --manage-gids
ExecStartPost=/usr/sbin/rpc.nfsd --lease-time 90 --grace-time 90 --no-nfs-version 3 64 ; /usr/sbin/sm-notify
ExecStartPost=bash -c "(sleep 10;exportfs -r;sleep 20;exportfs -r;sleep 30;exportfs -r)&"
ExecReload=/usr/sbin/exportfs -ra
ExecStopPost=/usr/sbin/rpc.nfsd 0 ; /usr/sbin/exportfs -ua
Restart=always
Expand Down

0 comments on commit 9c3aedb

Please sign in to comment.