overlay/net-im/spectrum/files/spectrum.initd
tastytea 37248c4ccd
net-im/spectrum: Added 2.0.7
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2018-09-06 03:47:26 +02:00

23 lines
552 B
Plaintext

#!/sbin/runscript
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net
use jabber-server
}
start() {
ebegin "Starting SPECTRUMGEN2PROTOCOL XMPP/Spectrum Transport"
start-stop-daemon --start --pidfile ${PIDFILE} \
--chuid jabber:jabber --exec /usr/bin/spectrum -- ${CONFFILE}
eend $?
}
stop() {
ebegin "Stopping SPECTRUMGEN2PROTOCOL XMPP/Spectrum Transport"
start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
eend $?
}