diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/PythonPowered.png | bin | 945 -> 5883 bytes | |||
-rw-r--r-- | misc/mailman.in | 23 | ||||
-rw-r--r-- | misc/paths.py.in | 7 |
3 files changed, 26 insertions, 4 deletions
diff --git a/misc/PythonPowered.png b/misc/PythonPowered.png Binary files differindex 2e9d99c2..ad7f9434 100644 --- a/misc/PythonPowered.png +++ b/misc/PythonPowered.png diff --git a/misc/mailman.in b/misc/mailman.in index 2f5fbc7a..af9d0e92 100644 --- a/misc/mailman.in +++ b/misc/mailman.in @@ -2,7 +2,7 @@ # # mailman This shell script starts and stops GNU Mailman. # -# Copyright (C) 2001-2003 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2016 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -16,7 +16,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. # # Copy this file to /etc/init.d/ (or /etc/rc.d/init.d/ depending on # your system) and activate it as such: @@ -30,7 +31,19 @@ # on GNU Mailman see http://www.list.org # processname: mailmanctl # config: @prefix@/Mailman/mm_cfg.py -# pidfile: @prefix@/data/master-qrunner.pid +# pidfile: @VAR_PREFIX@/data/master-qrunner.pid +# +### BEGIN INIT INFO +# Provides: mailman +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: GNU Mailman +# Description: Mailman is the GNU Mailing List Manager, a program that +# manages electronic mail discussion groups. For more +# on GNU Mailman see http://www.list.org +### END INIT INFO PYTHON=@PYTHON@ MAILMANHOME=@prefix@ @@ -50,5 +63,9 @@ case "$1" in $PYTHON $MAILMANCTL -q restart ;; +'reopen') + $PYTHON $MAILMANCTL -q reopen + ;; + esac exit 0 diff --git a/misc/paths.py.in b/misc/paths.py.in index c5e56177..b4aae14e 100644 --- a/misc/paths.py.in +++ b/misc/paths.py.in @@ -1,6 +1,6 @@ # -*- python -*- -# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -62,6 +62,11 @@ sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], 'site-packages') sys.path.append(sitedir) +# Include Python's dist-packages directory. +distdir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], + 'dist-packages') +sys.path.append(distdir) + # In a normal interactive Python environment, the japanese.pth and korean.pth # files would be imported automatically. But because we inhibit the importing |