index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-29 11:32:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 13:32:21 +0200 |
commit | 0ebc6be7ae3b153f2baad722a08a2019bb04c905 (patch) | |
tree | 97ba47b66a74c69e22c8ec70d2081bce28a6111a /profiles/applications | |
parent | aa0f4327260ab39077999859c593ed6d5c12822c (diff) |
-rw-r--r-- | profiles/applications/postgresql.py | 11 |
diff --git a/profiles/applications/postgresql.py b/profiles/applications/postgresql.py new file mode 100644 index 00000000..fcdce824 --- /dev/null +++ b/profiles/applications/postgresql.py @@ -0,0 +1,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')
\ No newline at end of file |