permissions
This commit is contained in:
parent
cc6f04148a
commit
2aa86e2d56
3 changed files with 11 additions and 4 deletions
|
|
@ -115,13 +115,13 @@ EOF
|
|||
|
||||
MANAGE="sudo -H -u pandora /srv/pandora/pandora/manage.py"
|
||||
|
||||
mkdir /srv/pandora/data
|
||||
chown -R pandora:pandora /srv/pandora
|
||||
|
||||
cd /srv/pandora/pandora
|
||||
$MANAGE init_db
|
||||
echo "UPDATE django_site SET domain = '$HOST.local', name = '$HOST.local' WHERE 1=1;" | $MANAGE dbshell
|
||||
|
||||
mkdir /srv/pandora/data
|
||||
chown -R pandora:pandora /srv/pandora
|
||||
|
||||
/srv/pandora/ctl install
|
||||
|
||||
if [ "$LXC" == "yes" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue