/[smecontribs]/rpms/smeserver-bandwidthd/contribs10/smeserver-bandwidthd-2.0.1.2-Update-createlinks-for-systemd-startup.patch
ViewVC logotype

Annotation of /rpms/smeserver-bandwidthd/contribs10/smeserver-bandwidthd-2.0.1.2-Update-createlinks-for-systemd-startup.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Nov 27 15:20:51 2020 UTC (4 years ago) by brianr
Branch: MAIN
CVS Tags: smeserver-bandwidthd-2_0_1_2-9_el7_sme
* Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.1.2-9.sme
- Update createlinks for systemd startup [SME: 11046]
- Update httpd with extra loadmodules

1 brianr 1.1 diff -urN smeserver-bandwidthd-2.0.1.2.old/createlinks smeserver-bandwidthd-2.0.1.2/createlinks
2     --- smeserver-bandwidthd-2.0.1.2.old/createlinks 2020-11-27 10:06:36.931211741 +0000
3     +++ smeserver-bandwidthd-2.0.1.2/createlinks 2020-11-27 10:22:50.918321270 +0000
4     @@ -26,22 +26,26 @@
5    
6     safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/var/www/bandwidthd/phphtdocs/config.conf/template-begin");
7     safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/var/www/bandwidthd/phphtdocs/config.conf/template-end");
8     -safe_symlink("../../../functions/wrapper", "root/etc/e-smith/web/panels/manager/cgi-bin/bandwidthd");
9     +#safe_symlink("../../../functions/wrapper", "root/etc/e-smith/web/panels/manager/cgi-bin/bandwidthd");
10     +
11     +#Server manager link
12     +panel_link("bandwidthd","manager");
13    
14     # rpm update action (invoked by yum on install and update
15     -event_actions("smeserver-bandwidthd-update", qw(
16     - bandwidthd-enable 20
17     - bandwidthd-start 30
18     +$contrib = "smeserver-bandwidthd";
19     +event_actions("$contrib-update", qw(
20     + systemd-default 10
21     ));
22    
23     -event_templates("smeserver-bandwidthd-update", qw(
24     +event_templates("$contrib-update", qw(
25     /etc/httpd/conf/httpd.conf
26     /etc/crontab
27     + /etc/systemd/system-preset/49-koozali.preset
28     +
29     ));
30    
31     -event_services("smeserver-bandwidthd-update", qw(
32     +event_services("$contrib-update", qw(
33     httpd-e-smith sigusr1
34     php-fpm reload
35     ));
36    
37     -

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