Control: tags -1 wontfix Control: close -1 On Mon, 10 Dec 2018 14:21:33 +0100 Michael Biebl <bi...@debian.org> wrote: > Am 10.12.18 um 14:12 schrieb Michael Biebl: > > Say you have test.service and test.target. > > I'm not sure if there is a reliable way to detect whether the user > > wanted test.service or test.target when running "/etc/init.d/test ..." > > Just tested systemctl. If you have a test.service and test.target and > you run > systemctl start test > then test.service is started but not test.target. > > > So, I guess what would be more in line with the systemctl behaviour is a > patch which does the following: > > If you run /etc/init.d/test start: > - We start test.service if it exists > - If test.service does not exist and a test.target exist, start the target. > - If no service and target exists, fall through and let the sysv init > script handle the request directly
It's been 6 years since the last update, and the sysv wrappers are on the way out, so this will become moot soon. Closing. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part