Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding command line arguments to rc scripts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wickidpisa
n00b
n00b


Joined: 21 Jul 2002
Posts: 27

PostPosted: Thu Sep 12, 2002 9:17 am    Post subject: Adding command line arguments to rc scripts Reply with quote

I am trying to figure out how to make sysklogd allow logging from a remote system. The man page says I have to use the -r command line option, but I can't figure out how to add it to the rc script. I tried just adding it to the line, but start-stop-daemon threw an error. How can I make it so that syslogd runs with remote logging enabled?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Sep 12, 2002 2:50 pm    Post subject: Re: Adding command line arguments to rc scripts Reply with quote

wickidpisa wrote:
How can I make it so that syslogd runs with remote logging enabled?

edit /etc/conf.d/sysklogd to look something like the following:
Code:
# Config file for /etc/init.d/sysklogd

SYSLOGD="-m 0 -r"
# send warnings and above to the console
KLOGD="-c 3 -2"


The "SYSLOGD" line is where you append the necessary command line options.

For more info on how Gentoo uses and manages rc-scripts, you should check out the Gentoo Linux 1.0 init system.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum