* Thu Apr 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme
- move service to full systemd unit [SME: 12635]master 11_0_0-5_el8_sme
parent
aaa73c55c2
commit
c509d7acac
@ -1,15 +1,16 @@
|
||||
[Unit]
|
||||
Description=lpd, LPRng print spool
|
||||
After=network.target
|
||||
Requires=runit.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
TimeoutSec=0
|
||||
ExecStartPre=/sbin/e-smith/service-status lpd
|
||||
ExecStart=/usr/bin/sv u /service/lpd
|
||||
ExecStop=/usr/bin/sv stop /service/lpd
|
||||
ExecReload=/usr/bin/sv t /service/lpd
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/sbin/lpd -F
|
||||
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
@ -1,2 +0,0 @@
|
||||
#! /bin/sh
|
||||
exec /usr/sbin/lpd -F
|
Loading…
Reference in New Issue