summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-09-12 03:06:24 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-09-12 03:06:24 +0000
commitcf61c330b87f27780e8a61fb7134e541a7acf942 (patch)
tree6f42aac959ac97bc998824def3a07b29a39c90cd /net-irc/quassel/files
parentCleaning out unused files (diff)
downloadhistorical-cf61c330b87f27780e8a61fb7134e541a7acf942.tar.gz
historical-cf61c330b87f27780e8a61fb7134e541a7acf942.tar.bz2
historical-cf61c330b87f27780e8a61fb7134e541a7acf942.zip
Cleaning out unused files
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'net-irc/quassel/files')
-rw-r--r--net-irc/quassel/files/quasselcore.conf14
-rw-r--r--net-irc/quassel/files/quasselcore.init47
2 files changed, 0 insertions, 61 deletions
diff --git a/net-irc/quassel/files/quasselcore.conf b/net-irc/quassel/files/quasselcore.conf
deleted file mode 100644
index f5f2d376edb5..000000000000
--- a/net-irc/quassel/files/quasselcore.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-# /etc/conf.d/quasselcore
-
-# The user owning the quasselcore daemon
-QUASSEL_USER=""
-
-# Loglevel Debug|Info|Warning|Error. Default is: Info
-# The logfile is located at /var/log/quassel.log.
-LOGLEVEL="Info"
-
-# The port quasselcore will listen at. Default is: 4242
-PORT="4242"
-
-# The directory holding datafiles like the Sqlite DB and the SSL Cert
-DATADIR="/home/${QUASSEL_USER}/.quassel"
diff --git a/net-irc/quassel/files/quasselcore.init b/net-irc/quassel/files/quasselcore.init
deleted file mode 100644
index fcf661bf6bfa..000000000000
--- a/net-irc/quassel/files/quasselcore.init
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 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.3 2008/09/28 19:12:21 jokey Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ -z "${QUASSEL_USER}" ] ; then
- eerror "Did you read the elog messages? You need to define the"
- eerror "QUASSEL_USER variable in /etc/conf.d/quasselcore first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Quassel Core"
- local LOGFILE="/var/log/quassel.log"
- if [ ! -e ${LOGFILE} ] ; then
- touch ${LOGFILE} && chown ${QUASSEL_USER} ${LOGFILE}
- fi
-
- if [ -x /etc/init.d/root ] ; then
- # running on baselayout-2/openrc
- start-stop-daemon --start --user ${QUASSEL_USER} --background --make-pidfile \
- --pidfile /var/run/quassel.pid --exec /usr/bin/quasselcore -- --logfile=${LOGFILE} \
- --loglevel=${LOGLEVEL:-"Info"} --port=${PORT:-"4242"} \
- --datadir=${DATADIR:-"/home/${QUASSEL_USER}/.quassel"}
- else
- # running on baselayout-1
- start-stop-daemon --start --chuid ${QUASSEL_USER} --background --make-pidfile \
- --pidfile /var/run/quassel.pid --env HOME="/home/${QUASSEL_USER}" \
- --exec /usr/bin/quasselcore -- --logfile=${LOGFILE} --loglevel=${LOGLEVEL:-"Info"} \
- --port=${PORT:-"4242"} --datadir=${DATADIR:-"/home/${QUASSEL_USER}/.quassel"}
- fi
- eend $?
-}
-
-stop() {
- ebegin "Stopping Quassel Core"
- start-stop-daemon --stop --pidfile /var/run/quassel.pid --exec /usr/bin/quasselcore
- eend $?
-}