diff options
| author | Michael Peter Christen <mc@yacy.net> | 2012-06-24 10:58:09 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2012-06-24 10:58:09 +0200 |
| commit | cc1b6762bb56fed4e442b87bef5da6574f7d9cb0 (patch) | |
| tree | eef831a8b93a7004a3f2c8b54d3c06eff5cb5168 /bin | |
| parent | 2589158f44e8953dd7824876490c8d04fcfee749 (diff) | |
root, not yacy
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/checkalive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/checkalive.sh b/bin/checkalive.sh index 91c498af5..672fc3c28 100755 --- a/bin/checkalive.sh +++ b/bin/checkalive.sh @@ -3,7 +3,7 @@ # for a production environment with high-availability requirement, # (and if you are using the debian version of yacy) # add the following line in /etc/crontab -# 0 * * * * yacy cd /usr/share/yacy/bin && ./checkalive.sh +# 0 * * * * root cd /usr/share/yacy/bin && ./checkalive.sh port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2) RESULT=`wget -t 1 --spider http://localhost:$port/Status.html 2>&1` |
