X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppetlabs-postgresql%2Fpostgresql.service;fp=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppetlabs-postgresql%2Fpostgresql.service;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=3b4c5cada15869f07a469ee2830815f3d075ca41;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql/postgresql.service b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql/postgresql.service deleted file mode 100644 index 3b4c5ca..0000000 --- a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql/postgresql.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=PostgreSQL database server -After=network.target - -[Install] -WantedBy=multi-user.target - -[Service] -Type=forking -User=postgres -Group=postgres -# Disable OOM kill on the postmaster -OOMScoreAdjust=-17 - -PermissionsStartOnly=true -ExecStartPre=-/etc/postgresql/postgresql-init initdb -ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o "-p ${PGPORT}" -w -t 300 -ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast -ExecReload=/usr/bin/pg_ctl reload -D ${PGDATA} -s - -# Give a reasonable amount of time for the server to start up/shut down -TimeoutSec=300