mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
7ca703ec50
Former-commit-id: efe017a7e2
18 lines
343 B
Text
18 lines
343 B
Text
#!/usr/bin/expect
|
|
set timeout 10
|
|
|
|
set admin_email [lindex $argv 0]
|
|
set admin_password [lindex $argv 1]
|
|
|
|
spawn /var/www/seafile/seafile-server-4.0.6/seahub.sh start-fastcgi
|
|
|
|
expect "for the admin account?"
|
|
send "$admin_email\r";
|
|
|
|
expect "for the admin account?"
|
|
send "$admin_password\r";
|
|
|
|
expect "Enter the"
|
|
send "$admin_password\r";
|
|
|
|
interact
|