Skytools package : missing things - Mailing list pgsql-pkg-yum

From Sébastien Lardière
Subject Skytools package : missing things
Date
Msg-id 54BCCB17.4090506@2ndquadrant.fr
Whole thread Raw
Responses Re: Skytools package : missing things
List 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

pgsql-pkg-yum by date:

Previous
From: Sébastien Lardière
Date:
Subject: repmgr package : missing things
Next
From: Devrim Gündüz
Date:
Subject: Re: Wrong PGPREVMAJORVERSION?