/[smecontribs]/rpms/smeserver-userpanel/contribs10/smeserver-userpanel-1.4-bz11390-systemctl.patch
ViewVC logotype

Contents of /rpms/smeserver-userpanel/contribs10/smeserver-userpanel-1.4-bz11390-systemctl.patch

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


Revision 1.1 - (show annotations) (download)
Mon Aug 1 19:31:09 2022 UTC (21 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-userpanel-1_4-4_el7_sme, smeserver-userpanel-1_4-5_el7_sme, smeserver-userpanel-1_4-6_el7_sme, HEAD
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-4.sme
- update to httpd 2.4 access syntax [SME: 12064]
  thanks to Vasarhelyi Zsolt
- fix call to svc in place of systemctl [SME: 11390]

1 diff -Nur --no-dereference smeserver-userpanel-1.4.old/root/etc/e-smith/events/actions/conf-userpanelsymlinks smeserver-userpanel-1.4/root/etc/e-smith/events/actions/conf-userpanelsymlinks
2 --- smeserver-userpanel-1.4.old/root/etc/e-smith/events/actions/conf-userpanelsymlinks 2022-08-01 15:21:45.996000000 -0400
3 +++ smeserver-userpanel-1.4/root/etc/e-smith/events/actions/conf-userpanelsymlinks 2022-08-01 15:28:30.165000000 -0400
4 @@ -86,7 +86,7 @@
5
6 #system("/etc/rc.d/init.d/httpd-admin restart") == 0
7 # or warn ("Error occurred restarting httpd-admin \n");
8 - esmith::util::backgroundCommand (1, "/usr/local/bin/svc", "-h", "/service/httpd-admin");# == 0
9 + esmith::util::backgroundCommand (1, "/usr/bin/systemctl", "restart", "httpd-admin.service");# == 0
10
11 exit (0);
12

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