Update seafile-install.sh
This commit is contained in:
parent
fd90158d9a
commit
96132644c0
@ -18,6 +18,7 @@ $STD apt-get install -y \
|
|||||||
sudo \
|
sudo \
|
||||||
mc \
|
mc \
|
||||||
wget \
|
wget \
|
||||||
|
curl \
|
||||||
xmlstarlet \
|
xmlstarlet \
|
||||||
expect
|
expect
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
@ -199,7 +200,7 @@ echo -e "\nFILE_SERVER_ROOT = \"http://$IP:8082\"" >> /opt/seafile/conf/seahub_s
|
|||||||
echo -e "CSRF_TRUSTED_ORIGINS = ['http://$IP/']" >> /opt/seafile/conf/seahub_settings.py
|
echo -e "CSRF_TRUSTED_ORIGINS = ['http://$IP/']" >> /opt/seafile/conf/seahub_settings.py
|
||||||
msg_ok "Conf files adjusted"
|
msg_ok "Conf files adjusted"
|
||||||
|
|
||||||
msg_info "Setting up Seafile"
|
msg_info "Setting up Seafile"
|
||||||
$STD su - seafile -c "bash /opt/seafile/seafile-server-latest/seafile.sh start"
|
$STD su - seafile -c "bash /opt/seafile/seafile-server-latest/seafile.sh start"
|
||||||
$STD su - seafile -c "expect <<EOF
|
$STD su - seafile -c "expect <<EOF
|
||||||
spawn bash /opt/seafile/seafile-server-latest/seahub.sh start
|
spawn bash /opt/seafile/seafile-server-latest/seahub.sh start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user