Can we add sample systemd service file to git repo? - Mailing list pgsql-hackers

From Devrim GÜNDÜZ
Subject Can we add sample systemd service file to git repo?
Date
Msg-id 1384274850.2461.37.camel@lenovo01-laptop03.gunduz.org
Whole thread Raw
Responses Re: Can we add sample systemd service file to git repo?  (Nigel Heron <nheron@querymetrics.com>)
Re: Can we add sample systemd service file to git repo?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hi,

Many distros are switching/switched to systemd. In the git repo, we only
have init script for SysV. Would it make sense to add systemd service
script to our tarball as well? This could also standardize the systemd
scripts used in other distros.

http://svn.pgrpms.org/browser/rpm/redhat/9.3/postgresql/F-19/postgresql-9.3.service is an example of what we use in the
RPMs.(if website fails, please just reload) 

Attached is a modified version that will work with the compile defaults.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Errors on missing pg_subtrans/ files with 9.3
Next
From: Stephen Frost
Date:
Subject: Re: Errors on missing pg_subtrans/ files with 9.3