Re: service apache24 reload

From: void <void_at_f-m.fm>
Date: Thu, 31 Oct 2024 18:44:00 UTC
On Wed, Oct 30, 2024 at 06:50:15AM +0100, ft wrote:
>Hello,
>
>apache24 runs in a jail.
>service apache24 reload doesn't work?

I think you need to run it with -j

% service -h

Usage:
service [-j <jail name or id>] -e
service [-j <jail name or id>] -R
service [-j <jail name or id>] [-v] -l | -r
service [-j <jail name or id>] [-v] [-E var=value] <rc.d script> start|stop|etc.
service -h

-j    Perform actions within the named jail
-E n=val  Set variable n to val before executing the rc.d script
-e    Show services that are enabled
-R    Stop and start enabled /usr/local/etc/rc.d services
-l    List all scripts in /etc/rc.d and /usr/local/etc/rc.d
-r    Show the results of boot time rcorder
-v    Verbose

--