blob: ac9dd78016b8982d7919150c95fb119c8a997e49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
description="mw-qserve is a job queue server used to distribute and manage jobs"
command="/usr/bin/mw-qserve"
command_args="--interface=${MW_QSERVE_INTERFACE} --port=${MW_QSERVE_PORT}"
pidfile="/var/run/${SVCNAME}.pid"
command_background="yes"
start_stop_daemon_args="--user ${MW_QSERVE_USER:-mwlib} \
--group ${MW_QSERVE_GROUP:-mwlib} \
${MW_QSERVE_LOGFILE:+--stderr ${MW_QSERVE_LOGFILE}} \
${MW_QSERVE_LOGFILE:+--stdout ${MW_QSERVE_LOGFILE}}"
depend() {
need net localmount
}
|