First I would make the following bash script and call it delay:
#!/bin/bash# $1:delay time(s)# $2:command# example:# delay 10 "conky -d"sleep $1exec $2Then I would make it executable
chmod a+x delayYou could put the command from your comments:
delay 60 "sudo systemctl restart nfs-kernel-server"at the end of the rc.local file in /etc/init.d/ to have it run 60 seconds after every time the Pi boots up