summaryrefslogtreecommitdiff
path: root/testing/postgresql/postgresql.service
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-08-22 11:02:40 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-08-22 11:02:40 +0200
commit55a7d75889507a9882c91f8c0a44ea9460a5d095 (patch)
treee4d40e8bdb76614317edbd6d07f1d226eb80bb39 /testing/postgresql/postgresql.service
parentf23b8ed12499118d66340154fe8369623da3da34 (diff)
parent297a042ac9a7bbd2b18a9551f5fa4fe43faf53b2 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: core/rfkill/PKGBUILD extra/libkgapi/PKGBUILD extra/transmission/PKGBUILD testing/grep/PKGBUILD testing/grep/grep.install
Diffstat (limited to 'testing/postgresql/postgresql.service')
-rw-r--r--testing/postgresql/postgresql.service20
1 files changed, 0 insertions, 20 deletions
diff --git a/testing/postgresql/postgresql.service b/testing/postgresql/postgresql.service
deleted file mode 100644
index 2fcd3e93d..000000000
--- a/testing/postgresql/postgresql.service
+++ /dev/null
@@ -1,20 +0,0 @@
-[Unit]
-Description=PostgreSQL database server
-
-[Service]
-Type=forking
-SyslogIdentifier=postgres
-PIDFile=/var/lib/postgres/data/postmaster.pid
-
-# initdb script takes care for symlinking $PGROOT to /var/lib/postgres
-ExecStartPre=/usr/lib/systemd/scripts/postgresql-initdb
-ExecStart= /bin/su - postgres -m -c "/usr/bin/pg_ctl -s -D /var/lib/postgres/data start"
-ExecReload=/bin/su - postgres -m -c "/usr/bin/pg_ctl -s -D /var/lib/postgres/data reload"
-ExecStop= /bin/su - postgres -m -c "/usr/bin/pg_ctl -s -D /var/lib/postgres/data stop -m fast"
-
-# Due to PostgreSQL's use of shared memory, OOM killer is often overzealous in
-# killing Postgres
-OOMScoreAdjust=-200
-
-[Install]
-WantedBy=multi-user.target