summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gg-transport/files/jggtrans-2.2.1-r1')
-rw-r--r--net-im/gg-transport/files/jggtrans-2.2.1-r120
1 files changed, 20 insertions, 0 deletions
diff --git a/net-im/gg-transport/files/jggtrans-2.2.1-r1 b/net-im/gg-transport/files/jggtrans-2.2.1-r1
new file mode 100644
index 000000000000..2ca68d55ab8e
--- /dev/null
+++ b/net-im/gg-transport/files/jggtrans-2.2.1-r1
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/files/jggtrans-2.2.1-r1,v 1.1 2006/09/20 09:20:23 nelchael Exp $
+
+depend() {
+ need net jabber-server
+}
+
+start() {
+ ebegin "Starting Jabber GG Transport"
+ start-stop-daemon --start --user jabber --group jabber --exec /usr/sbin/jggtrans -- -u jabber -g jabber /etc/jabber/gg-transport.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Jabber GG Transport"
+ start-stop-daemon --stop --pidfile /var/run/jabber/gg-transport.pid
+ eend $?
+}