Your message dated Sun, 6 Feb 2005 18:42:24 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Removed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Jun 2000 21:33:44 +0000
>From [EMAIL PROTECTED] Wed Jun 21 16:33:44 2000
Return-path: <[EMAIL PROTECTED]>
Received: from chardonnay.math.bme.hu [152.66.83.144]
by master.debian.org with smtp (Exim 3.12 2 (Debian))
id 134s80-0005eo-00; Wed, 21 Jun 2000 16:33:44 -0500
Received: (qmail 1668 invoked from network); 21 Jun 2000 21:33:37 -0000
Received: from ppp3.math.bme.hu (@152.66.83.52)
by chardonnay.math.bme.hu with SMTP; 21 Jun 2000 21:33:37 -0000
Received: (qmail 8805 invoked from network); 21 Jun 2000 20:06:35 -0000
Received: from utopia.intra.guy (HELO utopia) ([EMAIL PROTECTED])
by hellgate.intra.guy with SMTP; 21 Jun 2000 20:06:35 -0000
Received: (qmail 20582 invoked by uid 1000); 21 Jun 2000 20:06:33 -0000
Date: 21 Jun 2000 20:06:33 -0000
Message-ID: <[EMAIL PROTECTED]>
From: "KORN Andras" <[EMAIL PROTECTED]>
Subject: muffin: Create initscript to start system-wide muffin
To: [EMAIL PROTECTED]
X-Mailer: bug 3.3.3
Delivered-To: [EMAIL PROTECTED]
Package: muffin
Version: 0.9-1
Severity: wishlist
Hi,
I think it might be advantageous to have a system-wide muffin that users can
connect to instead of having each user run their own.
I accomplished this by doing the following:
1. I created a muffin user with adduser --system --home /etc/muffin muffin
2. I placed the desired system-wide config files under /etc/muffin
3. I did chown -R muffin.nogrup /etc/muffin
4. I installed the following initscript as /etc/init.d/muffin:
--------------
#! /bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin
FLAGS="defaults 50"
export JAVA=/usr/lib/jdk1.1/bin/java
DAEMON=$JAVA
#export JAVA_COMPILER=tya
export prefix=/usr
export exec_prefix=${prefix}
export libdir=/usr/share/java
export jarpath=$libdir/muffin.jar
if [ -n "$CLASSPATH" ]; then
CLASSPATH=$jarpath:$CLASSPATH
else
CLASSPATH=$jarpath
fi
export CLASSPATH
test -f $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting filtering proxy server: muffin"
sudo -u muffin start-stop-daemon --start --background --pidfile \
/var/run/muffin.pid --quiet --exec $DAEMON -- \
org.doit.muffin.Main -nw -dir /etc/muffin
echo .
;;
stop)
echo -n "Stopping filtering proxy server: muffin"
kill $(ps -fu muffin | grep -i 'java.*muffin' | head -1 | cut -c10-14)
echo .
;;
restart|force-reload)
sh $0 stop
sh $0 start
;;
*)
echo "Usage: /etc/init.d/muffin {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
-------------
You could use 'su' instead of 'sudo'. The 'kill' line is necessary because
for some reason start-stop-daemon doesn't create the pidfile and then
refuses to kill the process.
5. I ran update-rc.d muffin defaults.
Maybe you would like to add support for this in the Debian package?
Andrew
--
Andrew Korn (Korn Andras) <[EMAIL PROTECTED]> http://goliat.eik.bme.hu/~korn
Finger [EMAIL PROTECTED] for pgp key. Homepage is obsolete. QOTD:
Michael! Are you sure you want a Turbo Boost? (Y/N)
-- System Information
Debian Release: 2.2
Kernel Version: Linux utopia 2.4.0-test1-ac10 #1 Fri Jun 16 14:30:17 CEST 2000
i686 unknown
Versions of the packages muffin depends on:
ii java-common 0.2 Base of all Java packages
ii jdk1.1 1.1.8v1-3 JDK 1.1.x (Java Development Kit) - Runtime o
---------------------------------------
Received: (at 66031-done) by bugs.debian.org; 6 Feb 2005 18:42:31 +0000
>From [EMAIL PROTECTED] Sun Feb 06 10:42:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from bangpath.uucico.de [195.71.9.197]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CxrMc-0007IZ-00; Sun, 06 Feb 2005 10:42:30 -0800
Received: by bangpath.uucico.de (Postfix, from userid 10)
id AE17A26BCE; Sun, 6 Feb 2005 19:42:29 +0100 (CET)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
id 8A6F24EE6A; Sun, 6 Feb 2005 18:42:24 +0000 (GMT)
Date: Sun, 6 Feb 2005 18:42:24 +0000
From: Martin Michlmayr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Removed
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 6
muffin has been removed from Debian because it is not maintained
anymore and because it is apparently not very useful anymore (see
#273928).
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]