From 7a1142269c32e2b2f02f9a25e55e34c73ee38791 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 18 May 2016 14:39:34 +0200 Subject: [PATCH] committing changes in /etc after emerge run Package changes: --- conf.d/twistd | 7 ------- init.d/twistd | 25 ------------------------- 2 files changed, 32 deletions(-) delete mode 100644 conf.d/twistd delete mode 100755 init.d/twistd diff --git a/conf.d/twistd b/conf.d/twistd deleted file mode 100644 index 53788cd0..00000000 --- a/conf.d/twistd +++ /dev/null @@ -1,7 +0,0 @@ - -# These are passed to twistd. -# TWISTD_OPTS="--no_save --logfile=/var/log/twistd -y /etc/twistd.tac" -# TWISTD_OPTS="--no_save --logfile=/var/log/twistd -f /etc/twistd.tap" - -# Make any additions to PYTHONPATH the twistd needs here. -# PYTHONPATH="/path/to/extra/python/modules" diff --git a/init.d/twistd b/init.d/twistd deleted file mode 100755 index e7b29f1a..00000000 --- a/init.d/twistd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - if [ -z "${TWISTD_OPTS}" ]; then - eerror "TWISTD_OPTS is not set!" - eerror "You need to configure twistd in /etc/conf.d/twistd." - return 1 - fi - export PYTHONPATH - ebegin "Starting twistd" - start-stop-daemon --start --quiet --pidfile /var/run/twistd.pid \ - --exec /usr/bin/twistd -- --pidfile /var/run/twistd.pid \ - ${TWISTD_OPTS} - eend $? "Failed to start twistd" -} - -stop() { - ebegin "Stopping twistd" - start-stop-daemon --stop --quiet --pidfile /var/run/twistd.pid - eend $? "Failed to stop twistd" -} -- 2.39.5