/[smecontribs]/rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Bring-update-event-in-to-line-with-smanager.patch
ViewVC logotype

Annotation of /rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Bring-update-event-in-to-line-with-smanager.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 30 12:40:18 2021 UTC (2 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-manager-AdminLTE-0_1_3-19_el7_sme, smeserver-manager-AdminLTE-0_1_3-13_el7_sme, smeserver-manager-AdminLTE-0_1_3-18_el7_sme, smeserver-manager-AdminLTE-0_1_3-12_el7_sme, smeserver-manager-AdminLTE-0_1_4-1_el7_sme, smeserver-manager-AdminLTE-0_1_3-11_el7_sme, smeserver-manager-AdminLTE-0_1_3-16_el7_sme, smeserver-manager-AdminLTE-0_1_3-10_el7_sme, smeserver-manager-AdminLTE-0_1_3-20_el7_sme, smeserver-manager-AdminLTE-0_1_3-9_el7_sme, smeserver-manager-AdminLTE-0_1_3-21_el7_sme, smeserver-manager-AdminLTE-0_1_3-6_el7_sme, smeserver-manager-AdminLTE-0_1_3-8_el7_sme, smeserver-manager-AdminLTE-0_1_3-7_el7_sme, smeserver-manager-AdminLTE-0_1_3-15_el7_sme, smeserver-manager-AdminLTE-0_1_3-5_el7_sme, HEAD
* Tue Nov 30 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-5.sme
- Bring-update-event-in-to-line-with-smanager [SME: 11783]

1 brianr 1.1 diff -urN smeserver-manager-AdminLTE-0.1.3.old/createlinks smeserver-manager-AdminLTE-0.1.3/createlinks
2     --- smeserver-manager-AdminLTE-0.1.3.old/createlinks 2021-04-26 07:47:41.000000000 +0100
3     +++ smeserver-manager-AdminLTE-0.1.3/createlinks 2021-11-30 11:06:17.741233761 +0000
4     @@ -1,21 +1,28 @@
5     #!/usr/bin/perl -w
6     use esmith::Build::CreateLinks qw(:all);
7     # Koozali event specific for updating with yum without reboot
8     -$event = 'smeserver-manager-AdminLTE-update';
9     +my $event = 'smeserver-manager-AdminLTE-update';
10     #add here the path to your templates needed to expand
11     #see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
12     foreach my $file (qw(
13     /etc/systemd/system-preset/49-koozali.preset
14     + /usr/share/smanager/conf/srvmngr.conf
15     + /etc/httpd/conf/httpd.conf
16     ))
17     {
18     templates2events( $file, $event );
19     }
20     +event_link('navigation2-conf', "$event", '80');
21     +event_link('routes2-conf', "$event", '80');
22     +event_link('locales2-conf', "$event", '80');
23     #action needed in case we have a systemd unit
24     -event_link('systemd-default', $event, '10');
25     -event_link('systemd-reload', $event, '50');
26     +event_link('systemd-default', $event, '88');
27     +event_link('systemd-reload', $event, '89');
28     #action specific to this package
29     #event_link('action', $event, '30');
30     #services we need to restart
31     safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager");
32     +safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
33     +
34     #and Server Mmanager panel link
35     #panel_link('somefunction', 'manager');

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