RE: [AMaViS-user] FreeBSD/NetBSD/Linux/Other.

2005-10-14 Thread Xavier Beaudouin
On Thu, 2005-10-13 at 23:12 -0400, Michael Scheidell wrote:
 Freebsd startup scripts comes with ports.
 
 You can find in in /usr/local/etc/rc.d on fbsd 4.xx and in /etc/init.d
 on 5.

on = 5.x it is on /etc/rc.d/ instead of /etc/init.d (linuxish)

/Xavier



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


RE: [AMaViS-user] FreeBSD/NetBSD/Linux/Other.

2005-10-14 Thread Christopher Jack
Hi All,

Using Debian 3.1 here.  The start-up script lives in /etc/init.d/  I've
copied it at the bottom of this mail.

Chris

#! /bin/sh
#
# /etc/init.d/amavis
# init script to control amavisd -- A MAil VIrus Scanner
#
# based on /etc/init.d/skeleton by Miquel van Smoorenburg
#[EMAIL PROTECTED].
# as modified for Debian GNU/Linux by Ian Murdock
#[EMAIL PROTECTED].
#
# 2002-10-15 [EMAIL PROTECTED]
#
# command to create links in /etc/rc?.d/ directories:
# update-rc.d amavis start 19 2 3 4 5 . stop 21 0 1 6 .
# starts amavis at 19 in runlevels 2,3,4,5
# stops amavis at 21 in runlevels 0,1,6
# postfix is started and stopped at 20
#

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/sbin/amavisd-new
NAME=amavisd
PIDFILE=/var/amavis/$NAME.pid
PERL=/usr/bin/perl
DESC=A MAil VIrus Scanner Daemon

test -x $DAEMON || exit 0

set -e

case $1 in
  start)
echo Starting $DESC: $NAME
if [ -f $PIDFILE ]
then
   echo failed -- $PIDFILE exists. amavisd is already running. 
exit
 0
fi
#start-stop-daemon --start --chuid sweep --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo successful.
;;
  stop)
echo -n Stopping $DESC: $NAME 
start-stop-daemon --stop --pidfile $PIDFILE --exec $PERL
echo .
;;
  restart)
echo -n Restarting $DESC: $NAME
start-stop-daemon --stop --pidfile $PIDFILE --exec $PERL
sleep 1
start-stop-daemon --start --exec $DAEMON
echo .
;;
  *)
N=/etc/init.d/$NAME
echo Usage: $N {start|stop|restart} 2
exit 1
;;
esac

exit 0
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Xavier
Beaudouin
Sent: 14 October 2005 09:14
To: Michael Scheidell
Cc: Dale Walsh; Amavis users
Subject: RE: [AMaViS-user] FreeBSD/NetBSD/Linux/Other.

On Thu, 2005-10-13 at 23:12 -0400, Michael Scheidell wrote:
 Freebsd startup scripts comes with ports.
 
 You can find in in /usr/local/etc/rc.d on fbsd 4.xx and in /etc/init.d
 on 5.

on = 5.x it is on /etc/rc.d/ instead of /etc/init.d (linuxish)

/Xavier



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

---
This message and its attachments are strictly confidential. If you are
not the intended recipient of this message, please immediately notify 
the sender and delete it. Since its integrity cannot be guaranteed, 
its content cannot involve the sender's responsibility. Any misuse, 
any disclosure or publication of its content, either whole or partial, 
is prohibited, exception made of formally approved use
---


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


RE: [AMaViS-user] FreeBSD/NetBSD/Linux/Other.

2005-10-13 Thread Michael Scheidell

Freebsd startup scripts comes with ports.

You can find in in /usr/local/etc/rc.d on fbsd 4.xx and in /etc/init.d
on 5.


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] FreeBSD/NetBSD/Linux/Other.

2005-10-12 Thread Dale Walsh
If you have Dawin or Mac OSX, please do not respond, if you use a  
startup script to start amavisd-new, can you send me your startup  
script, the location it resides and the OS you use it on please.


-- Dale


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/