1 |
commit: d6ea3a077b009fbbb4a8914c66df7b862dfda4fd |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Fri Aug 20 18:29:03 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 27 23:39:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ea3a07 |
7 |
|
8 |
dev-db/postgresql: remove unused file |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/22058 |
11 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
12 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
dev-db/postgresql/files/postgresql.service-9.2 | 51 -------------------------- |
16 |
1 file changed, 51 deletions(-) |
17 |
|
18 |
diff --git a/dev-db/postgresql/files/postgresql.service-9.2 b/dev-db/postgresql/files/postgresql.service-9.2 |
19 |
deleted file mode 100644 |
20 |
index 20ed27a10f2..00000000000 |
21 |
--- a/dev-db/postgresql/files/postgresql.service-9.2 |
22 |
+++ /dev/null |
23 |
@@ -1,51 +0,0 @@ |
24 |
-# It's not recommended to modify this file in-place, because it will be |
25 |
-# overwritten during package upgrades. If you want to customize, the |
26 |
-# best way is to create file |
27 |
-# "/etc/systemd/system/postgresql-@SLOT@.service.d/*.conf" |
28 |
-# containing your changes |
29 |
- |
30 |
-# For example, if you want to change the server's port number to 5433, |
31 |
-# create a file named |
32 |
-# "/etc/systemd/system/postgresql-@SLOT@.service.d/port.conf" |
33 |
-# containing: |
34 |
-# [Service] |
35 |
-# Environment=PGPORT=5433 |
36 |
-# This will override the setting appearing below. |
37 |
- |
38 |
-[Unit] |
39 |
-Description=PostgreSQL database server |
40 |
-After=network.target |
41 |
- |
42 |
-[Service] |
43 |
-Type=forking |
44 |
- |
45 |
-User=postgres |
46 |
-Group=postgres |
47 |
- |
48 |
-# Port number for server to listen on |
49 |
-Environment=PGPORT=5432 |
50 |
- |
51 |
-# Location of configuration files |
52 |
-Environment=PGDATA=/etc/postgresql-@SLOT@ |
53 |
- |
54 |
-# Where the data directory is located |
55 |
-Environment=DATA_DIR=/var/lib/postgresql/@SLOT@/data |
56 |
- |
57 |
-# Where to send early-startup messages from the server (before the logging |
58 |
-# options of postgresql.conf take effect) |
59 |
-# This is normally controlled by the global default set by systemd |
60 |
-# StandardOutput=syslog |
61 |
- |
62 |
-ExecStartPre=/usr/bin/postgresql-@SLOT@-check-db-dir |
63 |
-ExecStart=/usr/@LIBDIR@/postgresql-@SLOT@/bin/pg_ctl start -D ${DATA_DIR} -s -l ${DATA_DIR}/postmaster.log -o "-p ${PGPORT} -D ${PGDATA} --data-directory=${DATA_DIR}" -w -t 300 |
64 |
-ExecStop=/usr/@LIBDIR@/postgresql-@SLOT@/bin/pg_ctl stop -D ${DATA_DIR} -s -m fast |
65 |
-ExecReload=/usr/@LIBDIR@/postgresql-@SLOT@/bin/pg_ctl reload -D ${DATA_DIR} -s |
66 |
- |
67 |
-# Give a reasonable amount of time for the server to start up/shut down |
68 |
-TimeoutSec=300 |
69 |
- |
70 |
-# Disable OOM kill on the postmaster |
71 |
-OOMScoreAdjust=-1000 |
72 |
- |
73 |
-[Install] |
74 |
-WantedBy=multi-user.target |