supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jack Cummings <jack@mudshark.org>
Subject: run script for postfix..
Date: Fri, 5 May 2006 16:17:24 -0700	[thread overview]
Message-ID: <20060505231724.GH8859@ice.mudshark.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]


Here's a condensed version of the run script from:

http://www-dt.e-technik.uni-dortmund.de/~ma/postfix/daemontools.html                                                               

Notes:

    - the postfix 'master' process needs to run under a process supervisor

---
#!/bin/sh -e

export PATH=$(postconf -h command_directory):$(postconf -h daemon_directory):${PATH}

master -t || postfix stop 
postfix check 
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

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

             reply	other threads:[~2006-05-05 23:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-05 23:17 Jack Cummings [this message]
2006-05-06  0:54 ` Charlie Brady
2006-05-06 17:33   ` Jack Cummings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060505231724.GH8859@ice.mudshark.org \
    --to=jack@mudshark.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).