mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 15:06:19 -05:00
Adding pv to wrolpi images. Adding wrolpi user to pi user's group.
This commit is contained in:
parent
97fb865e13
commit
47e5303111
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue