Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ade97d52e6 | |||
| a5bfa7de35 | |||
| abb5fbf448 | |||
| d3d2e35f48 | |||
| 3f82dedad2 |
@@ -18,7 +18,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GIT_REFERENCE: ${{ github.ref }}
|
GIT_REFERENCE: ${{ github.ref }}
|
||||||
- name: Build rpm package
|
- name: Build rpm package
|
||||||
run: rpmbuild -ba "$(make name).spec"
|
run: rpmbuild -ba netoik-db.spec
|
||||||
- name: Upload rpm package
|
- name: Upload rpm package
|
||||||
run: make upload
|
run: make upload
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ jobs:
|
|||||||
- name: Build tarball
|
- name: Build tarball
|
||||||
run: make tarball
|
run: make tarball
|
||||||
- name: Build rpm file
|
- name: Build rpm file
|
||||||
run: rpmbuild -ba %(make name).spec
|
run: rpmbuild -ba netoik-db.spec
|
||||||
|
|||||||
6
Makefile
6
Makefile
@@ -30,9 +30,9 @@ build_arch:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
install --directory $(DESTDIR)$(RPM_SYSCONFDIR)/postgres $(DESTDIR)$(RPM_UNITDIR)/postgresql.service.d
|
install --mode=755 --directory $(DESTDIR)$(RPM_SYSCONFDIR)/postgres $(DESTDIR)$(RPM_UNITDIR)/postgresql.service.d
|
||||||
install --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/postgres files/postgres/postgresql.conf files/postgres/pg_hba.conf
|
install --mode=644 --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/postgres files/postgres/postgresql.conf files/postgres/pg_hba.conf
|
||||||
install --target-directory=$(DESTDIR)$(RPM_UNITDIR)/postgresql.service.d filrs/systemd/postgres.conf
|
install --mode=644 --target-directory=$(DESTDIR)$(RPM_UNITDIR)/postgresql.service.d files/systemd/postgres.conf
|
||||||
|
|
||||||
$(RPM_TARBALL_PATH): *
|
$(RPM_TARBALL_PATH): *
|
||||||
git archive --format=tar.gz \
|
git archive --format=tar.gz \
|
||||||
|
|||||||
@@ -17,3 +17,13 @@ hba_file = "/etc/postgres/pg_hba.conf"
|
|||||||
# Empty listen addresses to disable listening via TCP/IP
|
# Empty listen addresses to disable listening via TCP/IP
|
||||||
# because we want only uni socket connections
|
# because we want only uni socket connections
|
||||||
listen_addresses = ""
|
listen_addresses = ""
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# REPORTING AND LOGGING
|
||||||
|
# Please refer to official doc before editing this section:
|
||||||
|
# https://www.postgresql.org/docs/current/runtime-config-logging.html
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Redirect logs to stderr to be managed by journald
|
||||||
|
log_destination = "stderr"
|
||||||
|
|||||||
Reference in New Issue
Block a user