diff options
author | 2018-04-25 07:07:29 +0200 | |
---|---|---|
committer | 2018-04-25 07:07:29 +0200 | |
commit | 7e59eb971d6c83343ba5c3173ae48bb11acc5aa3 (patch) | |
tree | 89b44cf8c43a8b1953f6058bfcb0fb1c9c5e21b1 /net-irc/quassel/files | |
parent | dev-ruby/dotenv: add 2.4.0 (diff) | |
download | gentoo-7e59eb971d6c83343ba5c3173ae48bb11acc5aa3.tar.gz gentoo-7e59eb971d6c83343ba5c3173ae48bb11acc5aa3.tar.bz2 gentoo-7e59eb971d6c83343ba5c3173ae48bb11acc5aa3.zip |
net-irc/quassel: Remove 0.12.4 (r0)
Bug: https://bugs.gentoo.org/603414
Bug: https://bugs.gentoo.org/653834
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'net-irc/quassel/files')
-rw-r--r-- | net-irc/quassel/files/quasselcore.conf | 21 | ||||
-rw-r--r-- | net-irc/quassel/files/quasselcore.init | 62 |
2 files changed, 0 insertions, 83 deletions
diff --git a/net-irc/quassel/files/quasselcore.conf b/net-irc/quassel/files/quasselcore.conf deleted file mode 100644 index 960203500fe4..000000000000 --- a/net-irc/quassel/files/quasselcore.conf +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Loglevel Debug|Info|Warning|Error. Default is: Info -# The logfile is located at /var/log/quassel.log. -#LOGLEVEL="Info" - -# The address(es) quasselcore will listen on. Default is 0.0.0.0 -#LISTEN="0.0.0.0" - -# The port quasselcore will listen at. Default is: 4242 -#PORT="4242" - -# User we want our daemon to run under. -#QUASSEL_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" diff --git a/net-irc/quassel/files/quasselcore.init b/net-irc/quassel/files/quasselcore.init deleted file mode 100644 index 8e66dff8ca32..000000000000 --- a/net-irc/quassel/files/quasselcore.init +++ /dev/null @@ -1,62 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount net - after bootmisc postgresql -} - -CORE="$(which quasselcore)" -PID="/var/run/quassel.pid" -LOGFILE=${LOGFILE:-"/var/log/quassel.log"} -CONFIGDIR=${CONFIGDIR:-"/var/lib/quassel"} -QUASSEL_USER=${QUASSEL_USER:-"quassel"} - -checkconfig() { - # set defaults - LOGLEVEL=${LOGLEVEL:-"Info"} - - # check config folder - if [ ! -d "${CONFIGDIR}" ]; then - mkdir "${CONFIGDIR}" || return 1 - fi - # permissions always changed just to avoid runtime issues - chown -R "${QUASSEL_USER}":"${QUASSEL_USER}" "${CONFIGDIR}" || return 1 - - # check log file - if [ ! -e "${LOGFILE}" ]; then - touch "${LOGFILE}" || return 1 - fi - # permissions always changed just to avoid runtime issues - chown "${QUASSEL_USER}":"${QUASSEL_USER}" "${LOGFILE}" || return 1 -} - -start() { - checkconfig || return 1 - - ebegin "Starting Quassel Core" - - if [ -n "${RC_UNAME}" ]; then - # running on baselayout-2/openrc - start-stop-daemon --start --user "${QUASSEL_USER}" --background --make-pidfile \ - --pidfile "${PID}" \ - --exec "${CORE}" -- --logfile="${LOGFILE}" --loglevel="${LOGLEVEL}" \ - ${LISTEN:+--listen="${LISTEN}"} ${PORT:+--port="${PORT}"} \ - --configdir="${CONFIGDIR}" - else - # running on baselayout-1 - start-stop-daemon --start --chuid "${QUASSEL_USER}" --background --make-pidfile \ - --pidfile "${PID}" --env HOME="${CONFIGDIR}" \ - --exec "${CORE}" -- --logfile="${LOGFILE}" --loglevel="${LOGLEVEL}" \ - ${LISTEN:+--listen="${LISTEN}"} ${PORT:+--port="${PORT}"} \ - --configdir="${CONFIGDIR}" - fi - eend $? -} - -stop() { - ebegin "Stopping Quassel Core" - start-stop-daemon --stop --pidfile "${PID}" --exec "${CORE}" - eend $? -} |