Tuesday, January 05, 2021

Re: Git Daemon rc Script Not Stopping

On Tue, Jan 05, 2021 at 03:19:29PM -0500, ben wrote:
> >The original version of this script installed by the port contains
> >rc_reload=NO and also uses a very different pexp.
>
> I checked out the original rc script, and it works. Why didn't my pexp var work
> for the script? The term should match the process, and yet the daemon was still
> running?
>
>

Because the process is called "git-daemon", not "git", and the rc.d
framework passes the -x option to pgrep.

No comments:

Post a Comment