Adding pv to wrolpi images. Adding wrolpi user to pi user's group.

This commit is contained in:
Roland 2023-05-19 10:10:34 -06:00
parent 97fb865e13
commit 47e5303111
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 2 additions and 0 deletions

View file

@ -61,6 +61,7 @@ postgresql-13-postgis-3
postgresql-13-postgis-3-scripts
postgresql-contrib
protobuf-c-compiler
pv
python3-dev
python3-doc
python3-mapnik

View file

@ -14,6 +14,7 @@ EOF
# Create WROLPi user. This user will own the media directory, API, and App.
# The `pi` user will be the maintainer's user.
grep wrolpi: /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bash)"
usermod -aG pi wrolpi
# Change default postgresql port to 5432.
sed -i 's/port = 5433/port = 5432/' /etc/postgresql/13/main/postgresql.conf