View previous topic :: View next topic |
Author |
Message |
wickidpisa n00b
Joined: 21 Jul 2002 Posts: 27
|
Posted: Thu Sep 12, 2002 9:17 am Post subject: Adding command line arguments to rc scripts |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Sep 12, 2002 2:50 pm Post subject: Re: Adding command line arguments to rc scripts |
|
|
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 |
|
|
|