diff options
Diffstat (limited to 'dev-python/mwlib/files/postman.initd')
-rw-r--r-- | dev-python/mwlib/files/postman.initd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/mwlib/files/postman.initd b/dev-python/mwlib/files/postman.initd new file mode 100644 index 000000000000..ef890c304713 --- /dev/null +++ b/dev-python/mwlib/files/postman.initd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/files/postman.initd,v 1.1 2013/07/01 13:56:29 dev-zero Exp $ + +description="postman uploads zip collections to pediapress in case someone likes to order printed books" + +command="/usr/bin/postman" +command_args="--cachedir=${POSTMAN_CACHDIR}" + +pidfile="/var/run/${SVCNAME}.pid" +command_background="yes" + +start_stop_daemon_args="--user ${POSTMAN_USER:-mwlib} \ + --group ${POSTMAN_GROUP:-mwlib} \ + ${POSTMAN_LOGFILE:+--stderr ${POSTMAN_LOGFILE}} \ + ${POSTMAN_LOGFILE:+--stdout ${POSTMAN_LOGFILE}}" + +depend() { + need net localmount +} |