]> Frank Brehm's Git Trees - config/bruni/etc.git/commitdiff
committing changes in /etc after emerge run
authorFrank Brehm <frank@brehm-online.com>
Wed, 18 May 2016 12:39:34 +0000 (14:39 +0200)
committerFrank Brehm <frank@brehm-online.com>
Wed, 18 May 2016 12:39:34 +0000 (14:39 +0200)
Package changes:

conf.d/twistd [deleted file]
init.d/twistd [deleted file]

diff --git a/conf.d/twistd b/conf.d/twistd
deleted file mode 100644 (file)
index 53788cd..0000000
+++ /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 (executable)
index e7b29f1..0000000
+++ /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"
-}