/[smeserver]/rpms/e-smith-LPRng/sme10/e-smith-LPRng-2.6.0-bz11006_LPRng_preset-bz11245_runit_required.patch
ViewVC logotype

Annotation of /rpms/e-smith-LPRng/sme10/e-smith-LPRng-2.6.0-bz11006_LPRng_preset-bz11245_runit_required.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Dec 10 09:26:41 2020 UTC (3 years, 5 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-LPRng-2_6_0-9_el7_sme, e-smith-LPRng-2_6_0-7_el7_sme, e-smith-LPRng-2_6_0-8_el7_sme, e-smith-LPRng-2_6_0-6_el7_sme, HEAD
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme
- Add 'Requires:runit.service' [SME: 11245]
- Add a fragment for lpd in 49-koozali.preset [SME: 11006]

1 michel 1.1 diff -urN e-smith-LPRng-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-LPRng.preset e-smith-LPRng-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-LPRng.preset
2     --- e-smith-LPRng-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-LPRng.preset 1970-01-01 04:00:00.000000000 +0400
3     +++ e-smith-LPRng-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-LPRng.preset 2020-12-10 12:06:53.000000000 +0400
4     @@ -0,0 +1,7 @@
5     +# lpd specific service (lpd in init.d)
6     +{
7     +$status = $lpd{status} || 'disabled';
8     +$status = ($status eq "enabled") ? "enable" : "disable";
9     +$OUT .= "$status lpd.service\n";
10     +}
11     +
12     diff -urN e-smith-LPRng-2.6.0.old/root/usr/lib/systemd/system/lpd.service e-smith-LPRng-2.6.0/root/usr/lib/systemd/system/lpd.service
13     --- e-smith-LPRng-2.6.0.old/root/usr/lib/systemd/system/lpd.service 2020-12-10 12:27:47.000000000 +0400
14     +++ e-smith-LPRng-2.6.0/root/usr/lib/systemd/system/lpd.service 2020-12-10 12:28:25.114000000 +0400
15     @@ -1,6 +1,7 @@
16     [Unit]
17     Description=lpd, LPRng print spool
18     After=network.target
19     +Requires=runit.service
20    
21     [Service]
22     Type=oneshot

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