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 --- 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 +++ 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 @@ -0,0 +1,7 @@ +# lpd specific service (lpd in init.d) +{ +$status = $lpd{status} || 'disabled'; +$status = ($status eq "enabled") ? "enable" : "disable"; +$OUT .= "$status lpd.service\n"; +} + 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 --- e-smith-LPRng-2.6.0.old/root/usr/lib/systemd/system/lpd.service 2020-12-10 12:27:47.000000000 +0400 +++ e-smith-LPRng-2.6.0/root/usr/lib/systemd/system/lpd.service 2020-12-10 12:28:25.114000000 +0400 @@ -1,6 +1,7 @@ [Unit] Description=lpd, LPRng print spool After=network.target +Requires=runit.service [Service] Type=oneshot