freebsd-ports/net/citadel/files/patch-ag
Ying-Chieh Liao 6c4801dc4e add citadel
Citadel/UX Communications Server

PR:		30807
Submitted by:	Brian Ledbetter <brian@shadowcom.net>
2001-10-14 12:40:26 +00:00

26 lines
547 B
Text

*** rc-startup-citadel.sh.orig Wed Jun 13 08:53:57 2001
--- rc-startup-citadel.sh Wed Jun 13 08:56:43 2001
***************
*** 0 ****
--- 1,21 ----
+ #!/bin/sh
+
+ PREFIX=/usr/local
+ LOGTO=/var/log/citadel.log
+
+ case $1 in
+ [Ss][Tt][Aa][Rr][Tt])
+ if [ -x "${PREFIX}/bin/citserver" ]; then
+ ${PREFIX}/bin/citserver -t${LOGTO} -d
+ echo -n " Citadel/UX"
+ fi
+ ;;
+
+ [Ss][Tt][Oo][Pp])
+ ps -auxwww | grep citserver | grep -v grep | awk '{print $2}' | xargs kill
+ ;;
+
+ *)
+ echo "Usage: $0 [start|stop]"
+ ;;
+ esac