summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-07-07 19:03:21 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-08-11 10:07:58 +0200
commitd1e8bd79d7a1a0eaef02f48ff5e72f22238de0c2 (patch)
tree65a750e9a0841ef21f36a6b9fa8116f3dea8be5b /app-i18n/canna
parentapp-forensics/rkhunter: remove unused patch (diff)
downloadgentoo-d1e8bd79d7a1a0eaef02f48ff5e72f22238de0c2.tar.gz
gentoo-d1e8bd79d7a1a0eaef02f48ff5e72f22238de0c2.tar.bz2
gentoo-d1e8bd79d7a1a0eaef02f48ff5e72f22238de0c2.zip
app-i18n/canna: remove unused init/confd files
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-i18n/canna')
-rw-r--r--app-i18n/canna/files/canna.confd8
-rw-r--r--app-i18n/canna/files/canna.initd37
2 files changed, 0 insertions, 45 deletions
diff --git a/app-i18n/canna/files/canna.confd b/app-i18n/canna/files/canna.confd
deleted file mode 100644
index 1cb421388735..000000000000
--- a/app-i18n/canna/files/canna.confd
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# Config file for /etc/init.d/canna
-
-# Specify user to run as
-CANNASERVER_OPTS=""
diff --git a/app-i18n/canna/files/canna.initd b/app-i18n/canna/files/canna.initd
deleted file mode 100644
index f5ed1d4413d5..000000000000
--- a/app-i18n/canna/files/canna.initd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# CANNASERVER_OPTS is defined in /etc/conf.d/canna
-
-depend() {
- after logger
-}
-
-start() {
- if [ -S /tmp/.iroha_unix/IROHA ] ; then
- /usr/sbin/cannakill >/dev/null 2>&1
- fi
- rm -f /tmp/.iroha_unix/IROHA
-
- if [ "${CANNASERVER_OPTS}" = "${CANNASERVER_OPTS/-syslog/}" ] ; then
- if [ ! -f /var/log/canna/CANNA0msgs ] ; then
- touch /var/log/canna/CANNA0msgs
- fi
- if [ "${CANNASERVER_OPTS}" != "${CANNASERVER_OPTS/-u/}" ] ; then
- chown `echo ${CANNASERVER_OPTS} | sed -e 's/.*-u *\(\w*\).*/\1/'` /var/log/canna/CANNA0msgs
- fi
- chmod u+w /var/log/canna/CANNA0msgs
- fi
-
- ebegin "Starting canna"
- /usr/sbin/cannaserver ${CANNASERVER_OPTS}
- eend $? "Failed to start canna"
-}
-
-stop() {
- ebegin "Stopping canna"
- /usr/sbin/cannakill
- eend $? "Failed to stop canna"
-}