aboutsummaryrefslogtreecommitdiff
path: root/news/papercut/files/papercut-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'news/papercut/files/papercut-wrapper')
-rw-r--r--news/papercut/files/papercut-wrapper13
1 files changed, 13 insertions, 0 deletions
diff --git a/news/papercut/files/papercut-wrapper b/news/papercut/files/papercut-wrapper
new file mode 100644
index 000000000000..b9aa1db56963
--- /dev/null
+++ b/news/papercut/files/papercut-wrapper
@@ -0,0 +1,13 @@
+#!/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 $@
+