summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gg-transport/files')
-rw-r--r--net-im/gg-transport/files/jggtrans-2.2.2-r120
-rw-r--r--net-im/gg-transport/files/jggtrans-2.2.420
2 files changed, 40 insertions, 0 deletions
diff --git a/net-im/gg-transport/files/jggtrans-2.2.2-r1 b/net-im/gg-transport/files/jggtrans-2.2.2-r1
new file mode 100644
index 000000000000..7e38a40b2231
--- /dev/null
+++ b/net-im/gg-transport/files/jggtrans-2.2.2-r1
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ after 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/jggtrans.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Jabber GG Transport"
+ start-stop-daemon --stop --pidfile /var/run/jabber/jggtrans.pid
+ eend $?
+}
diff --git a/net-im/gg-transport/files/jggtrans-2.2.4 b/net-im/gg-transport/files/jggtrans-2.2.4
new file mode 100644
index 000000000000..7e38a40b2231
--- /dev/null
+++ b/net-im/gg-transport/files/jggtrans-2.2.4
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ after 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/jggtrans.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Jabber GG Transport"
+ start-stop-daemon --stop --pidfile /var/run/jabber/jggtrans.pid
+ eend $?
+}