* Thu Apr 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme

- move service to full systemd unit [SME: 12635]
This commit is contained in:
2024-04-18 12:45:19 -04:00
parent aaa73c55c2
commit c509d7acac
5 changed files with 19 additions and 16 deletions

View File

@@ -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