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 <[email protected]> BSD admin/developer at large
