diff options
| author | Aaron W. Swenson <titanofold@gentoo.org> | 2018-02-11 10:54:10 -0500 |
|---|---|---|
| committer | Aaron W. Swenson <titanofold@gentoo.org> | 2018-02-11 10:54:38 -0500 |
| commit | 850efe2a5700c2ba30f9e9860dd83143cf15da34 (patch) | |
| tree | 7dbb998a6d14ec356c536aa20dc7e7b6f9ca8584 /dev-db/postgresql/files/postgresql.service-9.6 | |
| parent | dac3438f02ecd0319a177c3260be5a55b10b403b (diff) | |
| download | gentoo-850efe2a5700c2ba30f9e9860dd83143cf15da34.tar.gz gentoo-850efe2a5700c2ba30f9e9860dd83143cf15da34.tar.bz2 gentoo-850efe2a5700c2ba30f9e9860dd83143cf15da34.zip | |
dev-db/postgresql: Cleanup Old and Insecure Files
Bug: https://bugs.gentoo.org/627462
Bug: https://bugs.gentoo.org/636978
Bug: https://bugs.gentoo.org/630824
Bug: https://bugs.gentoo.org/603720
Bug: https://bugs.gentoo.org/603716
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-db/postgresql/files/postgresql.service-9.6')
| -rw-r--r-- | dev-db/postgresql/files/postgresql.service-9.6 | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-db/postgresql/files/postgresql.service-9.6 b/dev-db/postgresql/files/postgresql.service-9.6 deleted file mode 100644 index 89ec2d5cf7c0..000000000000 --- a/dev-db/postgresql/files/postgresql.service-9.6 +++ /dev/null @@ -1,56 +0,0 @@ -# It's not recommended to modify this file in-place, because it will be -# overwritten during package upgrades. If you want to customize, the -# best way is to create file -# "/etc/systemd/system/postgresql-@SLOT@.service.d/*.conf" -# containing your changes - -# For example, if you want to change the server's port number to 5433, -# create a file named -# "/etc/systemd/system/postgresql-@SLOT@.service.d/port.conf" -# containing: -# [Service] -# Environment=PGPORT=5433 -# This will override the setting appearing below. - -[Unit] -Description=PostgreSQL database server -After=network.target - -[Service] -Type=notify - -User=postgres -Group=postgres - -# Port number for server to listen on -Environment=PGPORT=5432 - -# Location of configuration files -Environment=PGDATA=/etc/postgresql-@SLOT@ - -# Where the data directory is located -Environment=DATA_DIR=/var/lib/postgresql/@SLOT@/data - -# Where to send early-startup messages from the server (before the logging -# options of postgresql.conf take effect) -# This is normally controlled by the global default set by systemd -# StandardOutput=syslog - -ExecStartPre=/usr/bin/postgresql-@SLOT@-check-db-dir -ExecStart=/usr/@LIBDIR@/postgresql-@SLOT@/bin/postgres -p ${PGPORT} -D ${DATA_DIR} -ExecReload=/bin/kill -HUP $MAINPID -KillMode=mixed -KillSignal=SIGINT - -# Give a reasonable amount of time for the server to start up/shut down -TimeoutSec=300 - -# Disable OOM kill on the postmaster -OOMScoreAdjust=-1000 - -# Make sure the required runtimedir is present -RuntimeDirectory=postgresql -RuntimeDirectoryMode=1775 - -[Install] -WantedBy=multi-user.target |
