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 |