From 742404cc8ab08316b0c02310c89958972d43d22e Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sat, 24 Feb 2018 09:38:11 -0800 Subject: postgres: move to recipes-dbs Signed-off-by: Armin Kuster --- .../postgresql/files/postgresql.service | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 meta-oe/recipes-support/postgresql/files/postgresql.service (limited to 'meta-oe/recipes-support/postgresql/files/postgresql.service') diff --git a/meta-oe/recipes-support/postgresql/files/postgresql.service b/meta-oe/recipes-support/postgresql/files/postgresql.service deleted file mode 100644 index 4ec959e842..0000000000 --- a/meta-oe/recipes-support/postgresql/files/postgresql.service +++ /dev/null @@ -1,27 +0,0 @@ -[Unit] -Description=PostgreSQL database server -After=network.target - -[Service] -Type=forking -User=postgres -Group=postgres - -# Port number for server to listen on -Environment=PGPORT=5432 - -# Location of database directory -Environment=PGDATA=/var/lib/postgresql/data - -# Disable OOM kill on the postmaster -OOMScoreAdjust=-17 - -ExecStart=@BINDIR@/pg_ctl start -D ${PGDATA} -s -o "-p ${PGPORT}" -w -t 300 -ExecStop=@BINDIR@/pg_ctl stop -D ${PGDATA} -s -m fast -ExecReload=@BINDIR@/pg_ctl reload -D ${PGDATA} -s - -# Give a reasonable amount of time for the server to start up/shut down -TimeoutSec=300 - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf