git: rc: Fix startup scripts when command_interpreter is used

Michael Neumann mneumann at crater.dragonflybsd.org
Mon Sep 20 06:33:40 PDT 2010


commit dc1d15486ee9b3421473f9b4f1c56eb5fde693f0
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Mon Sep 20 15:27:03 2010 +0200

    rc: Fix startup scripts when command_interpreter is used
    
    Correct the behaviour when using command_interpreter in
    rc.d scripts where the proctitle of ps does not include
    the full interpreter path, but for example just "perl: ..."
    instead of "/usr/pkg/bin/perl -flags ...".
    
    With this patch, the /etc/rc.d/postgrey stop/status script
    of pkgsrc package mail/postgrey works. Other packages seem
    to not use command_interpreter at all.

Summary of changes:
 etc/rc.subr |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dc1d15486ee9b3421473f9b4f1c56eb5fde693f0


-- 
DragonFly BSD source repository





More information about the Commits mailing list