Re: Service started via service(8) fails

From: Brian Reichert <reichert_at_numachi.com>
Date: Sun, 30 May 2021 15:46:55 UTC
On Thu, May 27, 2021 at 12:19:01PM +0200, Patrick M. Hausen wrote:
> >> I have this mindboggling situation where using 'service tac_plus restart'
> >> leads to a service that is running but not working properly, whereas
> >> '/usr/local/etc/rc.d/tac_plus restart' gives me a working service.

I explore things by stripping the environment, e.g.:

  env - /usr/local/etc/rc.d/tac_plus restart

You'd likely have to provide a minimal path, if your script doesn't
explicitly do so.


-- 
Brian Reichert				<reichert@numachi.com>
BSD admin/developer at large