aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/jit/files/patch-jit::jit.sh
blob: ce4c03742062f38e58c3c866cdbac09f6807577e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- jit/jit.sh.orig Tue Jul 20 17:09:59 2004
+++ jit/jit.sh  Tue Jul 20 17:10:47 2004
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+PREFIX=%%PREFIX%%
+USER="jabber"
+
+echo -n " jit"
+case ${1:-start} in
+start)
+    su -f -m ${USER} -c "$PREFIX/sbin/jit -c $PREFIX/etc/jabber-icq.xml -d " ;;
+
+stop)
+    killall -SIGKILL -u ${USER} jit;
+esac