In the beginning there was darkness

This commit is contained in:
Daniel Ziltener 2022-10-12 17:25:26 +02:00
parent 872e471525
commit ed72bfaa70
2 changed files with 13 additions and 1 deletions

12
Bastillefile Normal file
View File

@ -0,0 +1,12 @@
ARG postgres_version=15
ARG pg_cron_version=1.4.2
ARG confbase=/var/db/postgres/data${postgres_version}/postgresql.conf
CONFIG set allow.sysvipc 1
RESTART
PKG postgresql${postgres_version}-server postgresql${postgres_version}-contrib
SYSRC postgresql_enable=YES
SERVICE postgresql start
CMD [ ! -d "/var/db/postgres/data${postgres_version}" ] && /usr/local/etc/rc.d/postgresql initdb
CMD chown -R postgres /var/db/postgres && chmod -R 750 /var/db/postgres
SERVICE postgresql restart

View File

@ -1,4 +1,4 @@
Copyright (c) <year> <owner>. All rights reserved.
Copyright (c) 2022 Daniel Ziltener. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: