On Sun, Feb 7, 2021 at 5:34 AM Tong Sun wrote:

> The bug report is at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958899
>
> Basically I was trying to start/stop a Perl based http server.

> I do have one that almost like that,
> https://github.com/suntong/dbab/blob/master/bin/dbab
> but somehow codes were added when I found cases when things didn't work.

I think using /usr/bin/env in the #! line as the init-d-script manual
example does would make the script work on kFreeBSD.

> So you are saying something as simple as
...
> without anything else would be good enough?

In theory yes, I haven't tested it for your case. You would also of
course need to fix the descriptions and arguments though.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Reply via email to