Commit Graph

7 Commits

Author SHA1 Message Date
luccioman
7c7b38cb5a Updated the down.sh script, fixing the same kind of issue as in PR #260 2018-12-10 18:23:46 +01:00
luccioman
106bfd0e5f Also check yacy.conf file existence in shell scripts where relevant 2018-11-27 11:36:40 +01:00
luccioman
17ad1f7e65 Added support for custom DATA path in shell scripts
When the YACY_DATA_PATH environment variable is set, shell scripts will
now use the given path instead of relative ../DATA which remains the
default when the variable is not set.

Necessary in the context of Snap package (see issue #254) as YaCy is
started with startYACY.sh and an absolute DATA parent path in parameter.
2018-11-26 18:26:52 +01:00
luccioman
29e5110627 Updated shell scripts to be compatible with HTTP Digest authentication
Because curl and wget do not let use a hashed password as parameter,
YaCy shell scripts which require authentication are now interactive by
default when HTTP Digest is the only available authentication method.
Batch mode can still be available trough the use of an environment
variable : YACY_ADMIN_PASSWORD.  

Other improvements :
 - added backward compatibility for Basic Authentication
 - fixed curl/wget presence detection 
 - do not return with exit code 0 when an API call failed, and print an
error message when the case occurs
 - documented available authentication options for API calls
2017-03-21 17:15:01 +01:00
Marc Nause
53e4ae65d0 Changes to improve compatibility with OpenBSD. (see
http://forum.yacy-websuche.de/viewtopic.php?f=8&t=5503)
2015-02-23 22:54:49 +01:00
Marc Nause
8d1b66accc Fix for http://mantis.tokeek.de/view.php?id=432
*) replaced all shebangs with more universal versions
2014-08-25 22:47:33 +02:00
orbiter
8ce5bb4f31 added shell scripts that list host addresses
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5793 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-04-10 09:45:22 +00:00