Re: passing options thru '/etc/rc.d/foo start'

2009-09-17 Thread Mel Flynn
On Thursday 17 September 2009 19:55:33 Ruben de Groot wrote: > On Thu, Sep 17, 2009 at 07:14:29PM +0200, Mel Flynn typed: > > On Wednesday 16 September 2009 21:18:03 Tom Worster wrote: > > > On 9/16/09 2:37 PM, "Mel Flynn" > > > > > > wrote: > > > > On Wednesday 16 September 2009 20:21:40 Chris Co

Re: passing options thru '/etc/rc.d/foo start'

2009-09-17 Thread Ruben de Groot
On Thu, Sep 17, 2009 at 07:14:29PM +0200, Mel Flynn typed: > On Wednesday 16 September 2009 21:18:03 Tom Worster wrote: > > On 9/16/09 2:37 PM, "Mel Flynn" > > > > wrote: > > > On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: > > >> Tom Worster wrote: > > >>> thanks, Mel, that's good t

Re: passing options thru '/etc/rc.d/foo start'

2009-09-17 Thread Mel Flynn
On Wednesday 16 September 2009 21:18:03 Tom Worster wrote: > On 9/16/09 2:37 PM, "Mel Flynn" > > wrote: > > On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: > >> Tom Worster wrote: > >>> thanks, Mel, that's good to know. > >>> > >>> i think your suggestion of modifying rc.conf will tur

Re: passing options thru '/etc/rc.d/foo start'

2009-09-17 Thread Matthew Seaman
Tom Worster wrote: > On 9/16/09 3:19 PM, "Matthew Seaman" > wrote: > >> Tom Worster wrote: >>> is there a general shell syntax that can be used to pass arguments to a >>> daemon that you're starting with the /etc/rc.d/foo start command? >> If you're starting service foo, then you should be able t

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Tom Worster
On 9/16/09 3:19 PM, "Matthew Seaman" wrote: > Tom Worster wrote: >> is there a general shell syntax that can be used to pass arguments to a >> daemon that you're starting with the /etc/rc.d/foo start command? > > If you're starting service foo, then you should be able to define command > argumen

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Matthew Seaman
Tom Worster wrote: is there a general shell syntax that can be used to pass arguments to a daemon that you're starting with the /etc/rc.d/foo start command? If you're starting service foo, then you should be able to define command arguments by setting foo_flags="-a -b -c". This is a convention

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Tom Worster
On 9/16/09 2:37 PM, "Mel Flynn" wrote: > On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: >> Tom Worster wrote: >>> thanks, Mel, that's good to know. >>> >>> i think your suggestion of modifying rc.conf will turn out to be a tidy >>> solution for me. >> >> You could also just put: >>

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Mel Flynn
On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: > Tom Worster wrote: > > thanks, Mel, that's good to know. > > > > i think your suggestion of modifying rc.conf will turn out to be a tidy > > solution for me. > > You could also just put: > > sshd_flags="-o X11Forwarding=no" > > into y

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Chris Cowart
Tom Worster wrote: > thanks, Mel, that's good to know. > > i think your suggestion of modifying rc.conf will turn out to be a tidy > solution for me. You could also just put: sshd_flags="-o X11Forwarding=no" into your /etc/rc.conf file. Pretty much all of the rc.d scripts support the use of NA

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Tom Worster
On 9/16/09 1:35 PM, "Mel Flynn" wrote: > On Wednesday 16 September 2009 18:45:29 Tom Worster wrote: >> is there a general shell syntax that can be used to pass arguments to a >> daemon that you're starting with the /etc/rc.d/foo start command? >> >> for example, how does one start sshd using /et

Re: passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Mel Flynn
On Wednesday 16 September 2009 18:45:29 Tom Worster wrote: > is there a general shell syntax that can be used to pass arguments to a > daemon that you're starting with the /etc/rc.d/foo start command? > > for example, how does one start sshd using /etc/rc.d/sshd and pass it > '-o X11Forwarding=no'

passing options thru '/etc/rc.d/foo start'

2009-09-16 Thread Tom Worster
is there a general shell syntax that can be used to pass arguments to a daemon that you're starting with the /etc/rc.d/foo start command? for example, how does one start sshd using /etc/rc.d/sshd and pass it '-o X11Forwarding=no' without touching a config file? tom _