/[smecontribs]/rpms/smeserver-shellinabox/contribs10/smeserver-shellinabox-0.0.8-fix-services.patch
ViewVC logotype

Annotation of /rpms/smeserver-shellinabox/contribs10/smeserver-shellinabox-0.0.8-fix-services.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Jul 24 13:13:58 2023 UTC (16 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-shellinabox-0_0_8-4_el7_sme, smeserver-shellinabox-0_0_8-3_el7_sme, HEAD
* Mon Jul 24 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-3.sme
- remove service in bootstrap-console-save [SME: 12376]
- comment out unrequired shellinabox-action script

1 jcrisp 1.1 diff -ruN smeserver-shellinabox-0.0.8.old/createlinks smeserver-shellinabox-0.0.8/createlinks
2     --- smeserver-shellinabox-0.0.8.old/createlinks 2023-07-11 17:24:49.000000000 +0100
3     +++ smeserver-shellinabox-0.0.8/createlinks 2023-07-24 14:10:28.513997703 +0100
4     @@ -63,7 +63,6 @@
5     foreach $event (
6     qw(
7     remoteaccess-update
8     - bootstrap-console-save
9     console-save
10     )
11     ) {
12     @@ -80,3 +79,15 @@
13     );
14     }
15    
16     +foreach $event (
17     + qw(
18     + bootstrap-console-save
19     + )
20     +) {
21     + event_templates(
22     + $event, qw(
23     + /etc/sysconfig/shellinaboxd
24     + /usr/lib/systemd/system/shellinaboxd.service.d/50koozali.conf
25     + )
26     + );
27     +}
28     diff -ruN smeserver-shellinabox-0.0.8.old/root/etc/e-smith/events/actions/shellinabox-action smeserver-shellinabox-0.0.8/root/etc/e-smith/events/actions/shellinabox-action
29     --- smeserver-shellinabox-0.0.8.old/root/etc/e-smith/events/actions/shellinabox-action 2023-07-11 11:00:23.000000000 +0100
30     +++ smeserver-shellinabox-0.0.8/root/etc/e-smith/events/actions/shellinabox-action 2023-07-24 14:12:55.714312819 +0100
31     @@ -1,8 +1,9 @@
32     ##bash
33     #!/bin/bash
34     +# No longer required as this is done by e-smith services
35    
36     -expand-template /etc/sysconfig/shellinaboxd >/dev/null 2>&1
37     -expand-template /etc/httpd/conf/httpd.conf >/dev/null 2>&1
38     -service httpd-e-smith sigusr1 >/dev/null 2>&1
39     -service shellinaboxd restart >/dev/null 2>&1
40     +#expand-template /etc/sysconfig/shellinaboxd >/dev/null 2>&1
41     +#expand-template /etc/httpd/conf/httpd.conf >/dev/null 2>&1
42     +#service httpd-e-smith sigusr1 >/dev/null 2>&1
43     +#service shellinaboxd restart >/dev/null 2>&1
44    

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