server/apps/files_external/tests/env/start-webdav-apachedrone.sh
Roeland Jago Douma 3256a1c792
Add files_external webdav apache tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-12-29 12:47:48 +01:00

26 lines
429 B
Bash
Executable file

#!/usr/bin/env bash
#
# Nextcloud
#
# retrieve current folder to place the config in the parent folder
thisFolder=`echo $0 | sed 's#env/start-webdav-apachedrone\.sh##'`
if [ -z "$thisFolder" ]; then
thisFolder="."
fi;
cat > $thisFolder/config.webdav.php <<DELIM
<?php
return array(
'run'=>true,
'host'=>'127.0.0.1:80/webdav/',
'user'=>'test',
'password'=>'pass',
'root'=>'',
'wait'=> 0
);
DELIM