From: Mike Buland <mike@geekgene.com>
To: supervision@list.skarnet.org
Subject: Re: Run scripts
Date: Fri, 4 Jul 2008 09:28:21 -0600 [thread overview]
Message-ID: <200807040928.21815.mike@geekgene.com> (raw)
In-Reply-To: <20080704152232.GJ11840@dusk.harfang.homelinux.org>
Sure, I haven't looked at the one online, but I use this:
#!/bin/bash
exec chpst -u postgres /usr/bin/postmaster \
-D /srv/pgsql/data 2>&1
Works pretty well, you should change /srv/pgsql/data to whatever the path to
your cluster is, and of course, use whatever your postgres user is.
--Mike
On Friday 04 July 2008 09:22:32 am Gilles Sadowski wrote:
> Hello.
>
> Does anyone have a run script for "postgresql"?
>
> The script at
> http://smarden.org/runit/runscripts.html
> is quite outdated.
>
> Best,
> Gilles
next prev parent reply other threads:[~2008-07-04 15:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 15:22 Gilles Sadowski
2008-07-04 15:28 ` Mike Buland [this message]
2008-07-04 16:38 ` Gilles Sadowski
-- strict thread matches above, loose matches on Subject: below --
2005-10-06 20:55 run scripts Daniel Zilli
2005-10-18 0:22 ` Charlie Brady
2005-10-18 9:27 ` TheOldFellow
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=200807040928.21815.mike@geekgene.com \
--to=mike@geekgene.com \
--cc=supervision@list.skarnet.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).