1
0

start-webdav-apachedrone.sh 429 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. #
  3. # Nextcloud
  4. #
  5. # retrieve current folder to place the config in the parent folder
  6. thisFolder=`echo $0 | sed 's#env/start-webdav-apachedrone\.sh##'`
  7. if [ -z "$thisFolder" ]; then
  8. thisFolder="."
  9. fi;
  10. cat > $thisFolder/config.webdav.php <<DELIM
  11. <?php
  12. return array(
  13. 'run'=>true,
  14. 'host'=>'127.0.0.1:80/webdav/',
  15. 'user'=>'test',
  16. 'password'=>'pass',
  17. 'root'=>'',
  18. 'wait'=> 0
  19. );
  20. DELIM