c4k-nextcloud/main/resources/postgres/install-as-root.sh.template

4 lines
93 B
Bash

#!/bin/bash
mkdir -p /var/postgres
install -d -m 0777 -o {{user}} -g {{user}} /var/postgres