Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 16:18:50 +0100
From:      RW <rwmaillists@googlemail.com>
To:        ports@freebsd.org
Subject:   Re: rc script problem - pidfile not being recognised
Message-ID:  <20150911161850.402b3d5a@gumby.homeunix.com>
In-Reply-To: <441028827.153.1441982537926.JavaMail.Kevin@Thoth>
References:  <425887562.141.1441981537083.JavaMail.Kevin@Thoth> <441028827.153.1441982537926.JavaMail.Kevin@Thoth>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Sep 2015 15:42:18 +0100 (BST)
Kevin Golding wrote:

> I've been trying to work on a new port and it's my first that uses an
> rc script so I've been expecting a few bumps, but there's one thing I
> can't seem to fix and it's a blocker. I can't stop the daemon!
> 
> It dopes create a pidfile so I have the following line in my script:
> 
> pidfile="/var/run/${name}.pid"
> 
..
> # ps -waux | grep fuglu
> nobody   24013   0.0  0.5 139532  37372  -  I     3:57PM
> 0:01.03 /usr/local/bin/python2.7 /usr/local/bin/fuglu

did you set the command_interpreter variable, probably you need

command_interpreter=/usr/local/bin/python2.7



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