mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 14:05:54 +00:00
Update seafile-install.sh
This commit is contained in:
@@ -192,20 +192,14 @@ 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
|
||||||
expect {
|
expect "What is the email for the admin account" {
|
||||||
\"What is the email for the admin account\" {
|
send "$ADMIN_EMAIL\r"
|
||||||
send \"$ADMIN_EMAIL\r\"
|
}
|
||||||
}
|
expect "What is the password for the admin account" {
|
||||||
}
|
send "$ADMIN_PASS\r\"
|
||||||
expect {
|
}
|
||||||
\"What is the password for the admin account\" {
|
expect "Enter the password again:" {
|
||||||
send \"$ADMIN_PASS\r\"
|
send "$ADMIN_PASS\r"
|
||||||
}
|
|
||||||
}
|
|
||||||
expect {
|
|
||||||
\"Enter the password again:\" {
|
|
||||||
send \"$ADMIN_PASS\r\"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
expect eof
|
expect eof
|
||||||
EOF"
|
EOF"
|
||||||
|
|||||||
Reference in New Issue
Block a user