Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 18:24:13 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Steve Wills <swills@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Mark Felder <feld@feld.me>, ports-committers@freebsd.org
Subject:   Re: svn commit: r304459 - head/sysutils/xen-tools
Message-ID:  <50591EBD.3010000@FreeBSD.org>
In-Reply-To: <201209182052.q8IKqHp3060160@svn.freebsd.org>
References:  <201209182052.q8IKqHp3060160@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070308040605080502020208
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 09/18/2012 13:52, Steve Wills wrote:
> Author: swills
> Date: Tue Sep 18 20:52:16 2012
> New Revision: 304459
> URL: http://svn.freebsd.org/changeset/ports/304459
> 
> Log:
>   - Fix RC script installation

While you're at it, how about fixing the actual script? :)

Doug

-- 

    I am only one, but I am one.  I cannot do everything, but I can do
    something.  And I will not let what I cannot do interfere with what
    I can do.
			-- Edward Everett Hale, (1822 - 1909)

--------------070308040605080502020208
Content-Type: text/plain; charset=UTF-8;
 name="xe-daemon-rcd.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="xe-daemon-rcd.diff"

Index: xe-daemon.in
===================================================================
--- xe-daemon.in	(revision 304475)
+++ xe-daemon.in	(working copy)
@@ -1,7 +1,9 @@
 #!/bin/sh
 
+# $FreeBSD$
+#
 # PROVIDE: xe_daemon
-# REQUIRE: login
+# REQUIRE: LOGIN
 # KEYWORD: nojail shutdown
 #
 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
@@ -9,20 +11,19 @@
 #
 # xe_daemon_enable (bool): Set to NO by default.
 #       Set it to YES to enable xe_daemon.
-#
 
 . /etc/rc.subr
 
 name=xe_daemon
 rcvar=xe_daemon_enable
 
-command="%%PREFIX%%/sbin/xe_wrapper"
-command_interpreter="/bin/sh -T"
-command_args="%%PREFIX%%/sbin/xe-daemon &"
-
 load_rc_config $name
 
-pidfile="/var/run/xe_wrapper.pid"
 : ${xe_daemon_enable="NO"}
 
+command="%%PREFIX%%/sbin/xe_wrapper"
+command_interpreter="/bin/sh -T"
+command_args='&'
+pidfile="/var/run/xe_wrapper.pid"
+
 run_rc_command "$1"

--------------070308040605080502020208--



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