seafile_ynh/conf/first_launch.exp
Josué 86de26ec2d first commit
Former-commit-id: f532ecd7b6
2015-08-24 20:45:36 +02:00

18 lines
344 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-latest/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