Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications/postgresql.py
blob: fcdce8241e6c1df7fee72b89cce3766b9a72ef5e (plain)
1
2
3
4
5
6
7
8
9
10
11
import archinstall

# Define the package list in order for lib to source
# which packages will be installed by this profile
__packages__ = ["postgresql"]

installation.add_additional_packages(__packages__)

installation.arch_chroot("initdb -D /var/lib/postgres/data", runas='postgres')

installation.enable_service('postgresql')