-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conode runscript 721 #775
Conode runscript 721 #775
Conversation
|
||
VERSION=1.0-pre1 | ||
MAILCMD=mail | ||
MAILADDR=linus.gasser@epfl.ch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any reference as how to use run_conode ? in the README ?
If so, do you specifiy that it sends a log to this address automatically if mail is installed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only when called with -mail
. I'll add that to the output.
#!/usr/bin/env bash | ||
set -e | ||
|
||
VERSION=1.0-pre1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, we should have a consistent versionning system, putting at two places seems like trouble for the future...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it's possible to make onet.Server prints out the version or stg ? Or conode binary ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm - can't run onet.Server here... But I can do some grep-magick...
echo "Moving cothorityd-directory to conode" | ||
mv $PATH_CO/cothorityd $PATH_CO/conode | ||
echo 0.9 > $PATH_VERSION | ||
elif [ -d $PATH_CO/cothority ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it not the same thing ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, there has been some cothorityd
and some cothority
...
I don't quite get the difference between |
|
|
||
`./run_conode.sh -mail -update` | ||
|
||
And it will send an email to DEDIS with the last 200 lines of log-output every time conode restarts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the And
.
Closes #721