mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-27 15:57:28 -07:00
22 lines
601 B
Plaintext
22 lines
601 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
description="postman uploads zip collections to pediapress in case someone likes to order printed books"
|
|
|
|
command="/usr/bin/postman"
|
|
command_args="--cachedir=${POSTMAN_CACHEDIR}"
|
|
|
|
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
|
|
}
|