diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-11-04 14:22:45 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-11-04 14:22:45 +0000 |
commit | 4bffbd61fde220e53b168e739bf4a453f39d026f (patch) | |
tree | dfb46eedb4d734f07247b91d8a66a4143c8ba70b /net-irc/quassel/files | |
parent | Version bump. (diff) | |
download | gentoo-2-4bffbd61fde220e53b168e739bf4a453f39d026f.tar.gz gentoo-2-4bffbd61fde220e53b168e739bf4a453f39d026f.tar.bz2 gentoo-2-4bffbd61fde220e53b168e739bf4a453f39d026f.zip |
Update initscript and confdscript to allow more options settings.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/quassel/files')
-rw-r--r-- | net-irc/quassel/files/quasselcore.conf | 17 | ||||
-rw-r--r-- | net-irc/quassel/files/quasselcore.init | 12 |
2 files changed, 19 insertions, 10 deletions
diff --git a/net-irc/quassel/files/quasselcore.conf b/net-irc/quassel/files/quasselcore.conf index e677b4026b5e..c68733777527 100644 --- a/net-irc/quassel/files/quasselcore.conf +++ b/net-irc/quassel/files/quasselcore.conf @@ -1,13 +1,22 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.conf,v 1.4 2010/07/01 10:34:03 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.conf,v 1.5 2010/11/04 14:22:44 scarabeus Exp $ # Loglevel Debug|Info|Warning|Error. Default is: Info # The logfile is located at /var/log/quassel.log. -LOGLEVEL="Info" +#LOGLEVEL="Info" # The address(es) quasselcore will listen on. Default is 0.0.0.0 -LISTEN="0.0.0.0" +#LISTEN="0.0.0.0" # The port quasselcore will listen at. Default is: 4242 -PORT="4242" +#PORT="4242" + +# User we want our daemon to run under. +#USER="quassel" + +# Directory we store all quasselcore content. +#CONFIGDIR="/var/lib/quassel" + +# File quasselcore will log all its events into. +#LOGFILE="/var/log/quassel.log"
\ No newline at end of file diff --git a/net-irc/quassel/files/quasselcore.init b/net-irc/quassel/files/quasselcore.init index 57d79ccf96c1..e1059e791f04 100644 --- a/net-irc/quassel/files/quasselcore.init +++ b/net-irc/quassel/files/quasselcore.init @@ -1,18 +1,18 @@ #!/sbin/runscript # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.init,v 1.6 2010/07/03 10:30:55 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.init,v 1.7 2010/11/04 14:22:45 scarabeus Exp $ depend() { - need net - use postgres + need localmount net + after bootmisc postgres } -LOGFILE="/var/log/quassel.log" CORE="$(which quasselcore)" PID="/var/run/quassel.pid" -CONFIGDIR="/var/lib/quassel" -QUASSEL_USER="quassel" +LOGFILE=${LOGFILE:-"/var/log/quassel.log"} +CONFIGDIR=${CONFIGDIR:-"/var/lib/quassel"} +QUASSEL_USER=${QUASSEL_USER:-"quassel"} checkconfig() { # set defaults |