/[smecontribs]/rpms/smeserver-xinetd/contribs10/smeserver-xinetd-0.3-bz11387-systemd-update.patch
ViewVC logotype

Annotation of /rpms/smeserver-xinetd/contribs10/smeserver-xinetd-0.3-bz11387-systemd-update.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Feb 24 02:23:56 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-xinetd-0_3-5_el7_sme, HEAD
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 0.3-5.sme
- import for SME10 [SME: 11387]
  systemd compliant
  update event

1 jpp 1.1 diff -Nur smeserver-xinetd-0.3.old/createlinks smeserver-xinetd-0.3/createlinks
2     --- smeserver-xinetd-0.3.old/createlinks 2008-04-18 09:52:20.000000000 -0400
3     +++ smeserver-xinetd-0.3/createlinks 2021-02-23 21:21:27.454000000 -0500
4     @@ -2,10 +2,15 @@
5    
6     use esmith::Build::CreateLinks qw(:all);
7    
8     -# config sane
9     foreach (qw(/etc/xinetd.conf)) {
10     templates2events($_, qw(remoteaccess-update bootstrap-console-save));
11     }
12    
13     safe_symlink("reload", "root/etc/e-smith/events/remoteaccess-update/services2adjust/xinetd");
14     -service_link_enhanced("xinetd", "S56", "7");
15     +
16     +$event="smeserver-xinetd-update";
17     +templates2events('/etc/xinetd.conf',$event);
18     +safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/xinetd");
19     +#systemd-specific action mandatory for this package-update event
20     +event_link("systemd-reload", $event, "89");
21     +event_link("systemd-default", $event, "88");
22     diff -Nur smeserver-xinetd-0.3.old/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf smeserver-xinetd-0.3/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf
23     --- smeserver-xinetd-0.3.old/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf 1969-12-31 19:00:00.000000000 -0500
24     +++ smeserver-xinetd-0.3/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf 2021-02-23 21:00:52.833000000 -0500
25     @@ -0,0 +1,2 @@
26     +[Install]
27     +WantedBy=sme-server.target

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