From: | Sébastien Lardière <sebastien(at)2ndquadrant(dot)fr> |
---|---|
To: | pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | Skytools package : missing things |
Date: | 2015-01-19 09:15:03 |
Message-ID: | 54BCCB17.4090506@2ndquadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
Hi,
As repmgr,
Working with skytools3 on a Centos system, I found that some things
missing :
- No initscript
- No system user created,
- No Log and PID directory
- No Default Conf file
As it's important and easy to provide a complete tool, please find the
initscript attached, and this simple code to add to the package :
useradd -r skytools
mkdir -p /var/log/skytools /var/run/skytools /etc/skytools
chown -R skytools /var/log/skytools /var/run/skytools /etc/skytools
Files attached :
/etc/skytools.ini
/etc/init.d/skytools3
there is an include of /etc/skytools/*.ini inside /etc/skytools.ini,
this is not a mistake.
Regards,
--
Sébastien Lardière
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Attachment | Content-Type | Size |
---|---|---|
skytools.ini | text/plain | 345 bytes |
skytools3 | text/plain | 1.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim Gündüz | 2015-01-19 13:51:34 | Re: Wrong PGPREVMAJORVERSION? |
Previous Message | Sébastien Lardière | 2015-01-19 09:03:49 | repmgr package : missing things |