1 |
brianr |
1.1 |
diff -urN smeserver-nfs-1.2.0.old/root/etc/e-smith/events/actions/smeserver-nfs-restart-rpcbind smeserver-nfs-1.2.0/root/etc/e-smith/events/actions/smeserver-nfs-restart-rpcbind |
2 |
|
|
--- smeserver-nfs-1.2.0.old/root/etc/e-smith/events/actions/smeserver-nfs-restart-rpcbind 2015-01-04 21:06:28.000000000 +0000 |
3 |
|
|
+++ smeserver-nfs-1.2.0/root/etc/e-smith/events/actions/smeserver-nfs-restart-rpcbind 2020-12-21 07:15:20.339512509 +0000 |
4 |
|
|
@@ -1,4 +1,4 @@ |
5 |
|
|
#!/usr/bin/perl |
6 |
|
|
#The service rpcbind needs to be restarted before nfs service, |
7 |
|
|
##but sometime it start before so I had to do a specific action |
8 |
|
|
-system ('/etc/init.d/rpcbind restart') ==0 or die "Error to restart the rpcbind service : $?"; |
9 |
|
|
+system ('systemctl restart rcpbind.service') ==0 or die "Error to restart the rpcbind service : $?"; |