Re: Git Daemon rc Script Not Stopping

2021-01-06 Thread Alexander Hall
It was merely a hunch. Thinking of it, I believe there is some magic to cope with that. Never mind my likely red herring. /Alexander On January 6, 2021 3:49:46 PM GMT+01:00, ben wrote: >>Without looking too far, check what pgrep gives. My first suspicion is >>the initial space in your 'daemon

Re: Git Daemon rc Script Not Stopping

2021-01-06 Thread ben
>Without looking too far, check what pgrep gives. My first suspicion is >the initial space in your 'daemon_flags'. Why does daemon_flags not permit spaces? rc.subr(8) has no information on including or lack of whitespace in daemon_flags.

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread Alexander Hall
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 m

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread Stefan Sperling
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 m

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread ben
>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?

Re: Git Daemon rc Script Not Stopping

2021-01-05 Thread Stefan Sperling
On Tue, Jan 05, 2021 at 02:41:51PM -0500, ben wrote: > Hello, Misc; > > I've been playing around with rc.d scripts and I've stumbled upon an issue in > my git daemon script: > > #!/bin/ksh > # > # $OpenBSD: gitdaemon.rc,v 1.4 2019/07/16 09:56:55 stsp Exp $ > > daemon="/usr/lo

Git Daemon rc Script Not Stopping

2021-01-05 Thread ben
Hello, Misc; I've been playing around with rc.d scripts and I've stumbled upon an issue in my git daemon script: #!/bin/ksh # # $OpenBSD: gitdaemon.rc,v 1.4 2019/07/16 09:56:55 stsp Exp $ daemon="/usr/local/libexec/git/git-daemon --detach" daemon_flags=" --detach --export