From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1107 Path: news.gmane.org!not-for-mail From: Jack Cummings Newsgroups: gmane.comp.sysutils.supervision.general Subject: run script for postfix.. Date: Fri, 5 May 2006 16:17:24 -0700 Message-ID: <20060505231724.GH8859@ice.mudshark.org> Reply-To: jack@mudshark.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l21Zc9uzwusa2dXo" X-Trace: sea.gmane.org 1146871056 13177 80.91.229.2 (5 May 2006 23:17:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 May 2006 23:17:36 +0000 (UTC) Original-X-From: supervision-return-1343-gcsg-supervision=m.gmane.org@list.skarnet.org Sat May 06 01:17:32 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Fc9Y8-0007TG-B7 for gcsg-supervision@gmane.org; Sat, 06 May 2006 01:17:28 +0200 Original-Received: (qmail 24228 invoked by uid 76); 5 May 2006 23:17:48 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 24222 invoked from network); 5 May 2006 23:17:48 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline User-Agent: Mutt/1.4.1i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1107 Archived-At: --l21Zc9uzwusa2dXo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Here's a condensed version of the run script from: http://www-dt.e-technik.uni-dortmund.de/~ma/postfix/daemontools.html = =20 Notes: - the postfix 'master' process needs to run under a process supervisor --- #!/bin/sh -e export PATH=3D$(postconf -h command_directory):$(postconf -h daemon_directo= ry):${PATH} master -t || postfix stop=20 postfix check=20 exec master >/dev/null 2>&1 --- -- Jack (John) Cummings http://mudshark.org/ PGP fingerprint: 0774 D073 E386 B70B 6B16 2D2B 1DD8 F8B0 CCF0 FAEE Now playing on Prime: Summer -- Alien Ant Farm Now playing on Remedial: Learning to Fly -- Pink Floyd --l21Zc9uzwusa2dXo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEW90EHdj4sMzw+u4RAkQWAJ9KluuUFNLke/sa5xSJgkvaaVrNiwCeMEJ0 Agz5Skish1HhUbTWE2DdbKM= =ppE5 -----END PGP SIGNATURE----- --l21Zc9uzwusa2dXo--