other base directories
This commit is contained in:
parent
e744eba7eb
commit
a515c3ce53
|
@ -9,5 +9,7 @@ export ADMIN=root
|
||||||
export ADMINPASS=yourpassword
|
export ADMINPASS=yourpassword
|
||||||
export SITEDB=example_net_site
|
export SITEDB=example_net_site
|
||||||
export AVATARBASE=/var/www/avatar.example.net
|
export AVATARBASE=/var/www/avatar.example.net
|
||||||
|
export BACKGROUNDBASE=/var/www/background.example.net
|
||||||
|
export FILEBASE=/var/www/file.example.net
|
||||||
export PWDGEN="pwgen 20"
|
export PWDGEN="pwgen 20"
|
||||||
|
|
||||||
|
|
|
@ -26,5 +26,7 @@ VALUES ('$nickname', '$DBHOST', '$username', '$password', '$database', '$sitenam
|
||||||
|
|
||||||
ENDOFCOMMANDS
|
ENDOFCOMMANDS
|
||||||
|
|
||||||
mkdir $AVATARBASE/$nickname
|
for top in $AVATARBASE $FILEBASE $BACKGROUNDBASE; do
|
||||||
chmod a+w $AVATARBASE/$nickname
|
mkdir $top/$nickname
|
||||||
|
chmod a+w $top/$nickname
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user