ebuilds in this commit: spectrum/spectrum-1.4.8 spectrum/spectrum-2.0.0 spectrum/spectrum-2.9999 spectrum/spectrum-9999 swift/swift-2.0_rc1 swift/swift-9999 All ebuilds taken from official spectrum2 overlay new file: net-im/spectrum/Manifest new file: net-im/spectrum/files/spectrum-1.4.7_remoteroster.patch new file: net-im/spectrum/files/spectrum.cfg new file: net-im/spectrum/files/spectrum.confd new file: net-im/spectrum/files/spectrum.initd new file: net-im/spectrum/files/spectrum.symlink.cfg new file: net-im/spectrum/files/spectrum2.initd new file: net-im/spectrum/spectrum-1.4.8.ebuild new file: net-im/spectrum/spectrum-2.0.0_beta2.ebuild new file: net-im/spectrum/spectrum-2.9999.ebuild new file: net-im/spectrum/spectrum-9999.ebuild new file: net-im/swift/Manifest new file: net-im/swift/swift-2.0_rc1.ebuild new file: net-im/swift/swift-9999.ebuild
26 lines
636 B
Plaintext
26 lines
636 B
Plaintext
#!/sbin/runscript
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
LOGFILE=/var/log/spectrum2/std.log
|
|
|
|
depend() {
|
|
need net
|
|
use jabber-server
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting ${PROTOCOL} Spectrum Transport"
|
|
start-stop-daemon --start --user jabber --group jabber \
|
|
--exec /usr/bin/spectrum2_manager start &> $LOGFILE
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping ${PROTOCOL} Spectrum Transport"
|
|
start-stop-daemon --user jabber --group jabber \
|
|
--exec /usr/bin/spectrum2_manager stop 1>>$LOGFILE 2>&1
|
|
eend $?
|
|
}
|