Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2021 11:46:55 -0400
From:      Brian Reichert <reichert@numachi.com>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   Re: Service started via service(8) fails
Message-ID:  <20210530154655.GV73712@numachi.com>
In-Reply-To: <E54A85CC-673A-4617-AEFB-2877BF0F5EE4@punkt.de>
References:  <202105270818.14R8Ig20087984@nordnytt.cc.uit.no> <f4494f4f-0676-524e-b152-c861593a084b@grosbein.net> <E54A85CC-673A-4617-AEFB-2877BF0F5EE4@punkt.de>

index | next in thread | previous in thread | raw e-mail

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	


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210530154655.GV73712>