Merge pull request #2877 from nextcloud/webdavapache
Add files_external webdav apache testspull/2891/head
commit
0f6dd65a91
@ -0,0 +1,26 @@ |
||||
#!/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 |
||||
|
@ -0,0 +1,14 @@ |
||||
#!/usr/bin/env bash |
||||
# |
||||
# Nextcloud |
||||
|
||||
# retrieve current folder to remove the config from the parent folder |
||||
thisFolder=`echo $0 | sed 's#env/stop-webdav-apachedrone\.sh##'` |
||||
|
||||
if [ -z "$thisFolder" ]; then |
||||
thisFolder="." |
||||
fi; |
||||
|
||||
# cleanup |
||||
rm $thisFolder/config.webdav.php |
||||
|
Loading…
Reference in new issue