add home path in startup

This commit is contained in:
Dryusdan 2017-11-23 22:45:14 +01:00
parent 67e05a6c05
commit 541c5806cb
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
addgroup -g ${GID} diaspora && adduser -H -s /bin/sh -D -G diaspora -u ${UID} diaspora
addgroup -g ${GID} diaspora && adduser -h /diaspora -s /bin/sh -D -G diaspora -u ${UID} diaspora
if [ ! -f /config/database.yml ]; then
cp /diaspora/config/database.yml.example /config/database.yml