/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11091-wan.service.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11091-wan.service.patch

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


Revision 1.2 - (show annotations) (download)
Wed Nov 11 20:50:41 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_0-71_el7_sme, e-smith-base-5_8_0-67_el7_sme, e-smith-base-5_8_0-64_el7_sme, e-smith-base-5_8_0-69_el7_sme, e-smith-base-5_8_0-70_el7_sme, e-smith-base-5_8_0-60_el7_sme, e-smith-base-5_8_0-65_el7_sme, e-smith-base-5_8_0-83_el7_sme, e-smith-base-5_8_0-96_el7_sme, e-smith-base-5_8_0-95_el7_sme, e-smith-base-5_8_0-80_el7_sme, e-smith-base-5_8_0-85_el7_sme, e-smith-base-5_8_0-50_el7_sme, e-smith-base-5_8_0-81_el7_sme, e-smith-base-5_8_0-82_el7_sme, e-smith-base-5_8_0-88_el7_sme, e-smith-base-5_8_0-54_el7_sme, e-smith-base-5_8_0-99_el7_sme, e-smith-base-5_8_0-94_el7_sme, e-smith-base-5_8_0-98_el7_sme, e-smith-base-5_8_0-97_el7_sme, e-smith-base-5_8_0-92_el7_sme, e-smith-base-5_8_0-75_el7_sme, e-smith-base-5_8_0-78_el7_sme, e-smith-base-5_8_0-90_el7_sme, e-smith-base-5_8_0-93_el7_sme, e-smith-base-5_8_0-55_el7_sme, e-smith-base-5_8_0-61_el7_sme, e-smith-base-5_8_0-52_el7_sme, e-smith-base-5_8_0-62_el7_sme, e-smith-base-5_8_0-74_el7_sme, e-smith-base-5_8_0-77_el7_sme, e-smith-base-5_8_0-63_el7_sme, e-smith-base-5_8_0-73_el7_sme, e-smith-base-5_8_0-76_el7_sme, e-smith-base-5_8_0-79_el7_sme, e-smith-base-5_8_0-91_el7_sme, e-smith-base-5_8_0-58_el7_sme, e-smith-base-5_8_0-86_el7_sme, e-smith-base-5_8_0-59_el7_sme, e-smith-base-5_8_0-87_el7_sme, e-smith-base-5_8_0-53_el7_sme, e-smith-base-5_8_0-49_el7_sme, e-smith-base-5_8_0-66_el7_sme, e-smith-base-5_8_0-68_el7_sme, e-smith-base-5_8_0-72_el7_sme, e-smith-base-5_8_0-84_el7_sme, e-smith-base-5_8_0-89_el7_sme, e-smith-base-5_8_0-51_el7_sme
Changes since 1.1: +0 -117 lines
* Tue Nov 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-49.sme
- move network service to systemd [SME: 11090]
- move wan service to systemd [SME: 11091]

1 diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks
2 --- e-smith-base-5.8.0.old/createlinks 2020-11-11 14:07:33.351000000 -0500
3 +++ e-smith-base-5.8.0/createlinks 2020-11-11 15:35:44.424000000 -0500
4 @@ -34,12 +34,6 @@
5 ));
6 }
7
8 -safe_symlink("daemontools", "root/etc/rc.d/init.d/wan");
9 -service_link_enhanced("wan", "S37", "7");
10 -service_link_enhanced("wan", "K90", "6");
11 -service_link_enhanced("wan", "K90", "0");
12 -service_link_enhanced("wan", "K90", "1");
13 -
14 # conf-dialup
15 foreach (qw(
16 /etc/sysconfig/network-scripts/ifcfg-ppp0
17 diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/wan.service e-smith-base-5.8.0/root/usr/lib/systemd/system/wan.service
18 --- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/wan.service 1969-12-31 19:00:00.000000000 -0500
19 +++ e-smith-base-5.8.0/root/usr/lib/systemd/system/wan.service 2020-11-11 15:32:34.522000000 -0500
20 @@ -0,0 +1,15 @@
21 +[Unit]
22 +Description=WAN interface for Koozali SME Server
23 +After=network-pre.target networking.service
24 +Before=network-online.target
25 +
26 +[Service]
27 +Type=oneshot
28 +ExecStartPre=/sbin/e-smith/service-status wan
29 +ExecStart=/usr/bin/sv u /service/wan
30 +ExecStop=/usr/bin/sv stop /service/wan
31 +ExecReload=/usr/bin/sv t /service/wan
32 +RemainAfterExit=yes
33 +
34 +[Install]
35 +WantedBy=sme-server.target

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