#!/usr/bin/perl #The service rpcbind needs to be restarted before nfs service, ##but sometime it start before so I had to do a specific action system ('/usr/bin/systemctl restart rpcbind.service') ==0 or die "Error to restart the rpcbind service : $?";