/[smecontribs]/rpms/smeserver-nfs/contribs10/smeserver-nfs-1.2.0-Alter-rcpbind-restart-to-systemctl-call.patch
ViewVC logotype

Contents of /rpms/smeserver-nfs/contribs10/smeserver-nfs-1.2.0-Alter-rcpbind-restart-to-systemctl-call.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Dec 21 07:22:16 2020 UTC (3 years, 10 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-nfs-1_2_0-21_el7_sme, smeserver-nfs-1_2_0-18_el7_sme, smeserver-nfs-1_2_0-19_el7_sme, smeserver-nfs-1_2_0-20_el7_sme, smeserver-nfs-1_2_0-22_el7_sme, HEAD
* Mon Dec 21 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-18.sme
- Alter-rcpbind-restart-to-systemctl-call [SME: 11272]

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 : $?";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed