PostgreSQL - /etc/systemd/postgresql.service
Pulled directly from an unmodified installation.
Quick Actions
๐ฅ Download Original postgresql.serviceConfiguration File Information
Authentic & Original
Unaltered postgresql.service from fresh installation.
Linux Distribution Support
๐ Currently viewing: Ubuntu 24.04 LTS (Noble Numbat)
โ Also compatible:
Debian 11 (Bullseye),
Debian 12 (Bookworm),
Ubuntu 20.04 LTS (Focal Fossa),
Ubuntu 22.04 LTS (Jammy Jellyfish),
โ Different versions:
Ubuntu:
Ubuntu 18.04 LTS (Bionic Beaver)
Configuration File Content
19 lines
# postgresql.service is the meta unit for managing all PostgreSQL clusters on
# the system at once. Conceptually, this unit is more like a systemd target,
# but we are using a service since targets cannot be reloaded.
#
# The unit actually managing PostgreSQL clusters is postgresql@.service,
# instantiated as postgresql@15-main.service for individual clusters.
[Unit]
Description=PostgreSQL RDBMS
[Service]
Type=oneshot
ExecStart=/bin/true
ExecReload=/bin/true
RemainAfterExit=on
[Install]
WantedBy=multi-user.target
Download Commands
postgresql.service โข
Download the 100% original unaltered configuration file pulled from PostgreSQL
Using wget:
wget -O postgresql.service.example https://exampleconfig.com/api/v1/config/original/cc942563c4eedf643d245720ad57f7e5?hint=postgresql.service
Using curl:
curl https://exampleconfig.com/api/v1/config/original/cc942563c4eedf643d245720ad57f7e5?hint=postgresql.service > postgresql.service.example