On 4/1/26 12:32 AM, Matthias Apitz wrote:
> El día miércoles, marzo 25, 2026 a las 07:35:21a. m. -0700, Adrian Klaver escribió:
>
>> From the contrib script:
>>
>> "# Proper init scripts on Linux systems normally require setting lock
>> # and pid files under /var/run as well as reacting to network
>> # settings, so you should treat this with care.
>> "
>
> I've read this comment in the script before filing my question. And my
> question is: Why postgresql.org does not deliver this PGDG Debian/Ubuntu
> version of the script for Linux(!) as default:
Because there are more flavors of Linux then the Debian family?
The basic issue is that the project itself takes responsibility for
delivering the source. Integration of the source with OS'es is left to
others.
What you see here:
https://www.postgresql.org/download/
is delivered by separate packaging teams.
At this point end users directly building from source is, from what I
understand, a very small subset of the Postgres user base. The
expectation is that you will be installing from some sort of packaging
system or using a pre-installed service.
>
>>
>> From the start script that the PGDG Debian/Ubuntu packages use:
>>
>> ### BEGIN INIT INFO
>> # Provides: postgresql
>> # Required-Start: $local_fs $remote_fs $network $time
>> # Required-Stop: $local_fs $remote_fs $network $time
>> # Should-Start: $syslog
>> # Should-Stop: $syslog
>> # Default-Start: 2 3 4 5
>> # Default-Stop: 0 1 6
>> # Short-Description: PostgreSQL RDBMS server
>> ### END INIT INFO
>>
>> [Continued]
>
> Thanks
>
> matthias
>
--
Adrian Klaver
adrian.klaver@aklaver.com