freebsd-ports/news/papercut/files/papercut-wrapper
Oliver Lehmann 05ee2ff260 Add papercut 0.9.8,
papercut is a news server written in Python,
using a MySQL backend.

PR:		53989
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-07-23 22:21:44 +00:00

13 lines
301 B
Bash

#!/bin/sh
# Change this to your getmail directory; defaults to /usr/local/share/getmail
PPCPATH="__DATADIR__"
PYTHONPATH="${PPCPATH}:${PYTHONPATH}"
export PYTHONPATH
# You can change this to point to your Python interpreter if you wish.
PYTHON=__PYTHON__
exec "$PYTHON" ${PPCPATH}/papercut.py $@