Changing wrolpi user home directory to reflect what Chrome requires.

This commit is contained in:
Roland 2022-01-16 13:38:51 -07:00
parent f305d7912f
commit 3ee34fef42
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -93,7 +93,7 @@ cp /opt/wrolpi/50x.html /var/www/50x.html
/usr/sbin/nginx -s reload
# Create the WROLPi user
grep wrolpi /etc/passwd || useradd -d /opt/wrolpi wrolpi -s "$(command -v bash)"
grep wrolpi /etc/passwd || useradd -d /home/wrolpi wrolpi -s "$(command -v bash)"
chown -R wrolpi:wrolpi /opt/wrolpi
# Create the media directory. This should be mounted by the maintainer.