projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding new bug about cssh.
[monkeysphere.git]
/
src
/
monkeysphere-server
diff --git
a/src/monkeysphere-server
b/src/monkeysphere-server
index f1472019d6097a4c7d0eb1a5f68568660d29c451..8139387cca858152a2b9a2da42becbddabb04468 100755
(executable)
--- a/
src/monkeysphere-server
+++ b/
src/monkeysphere-server
@@
-20,7
+20,7
@@
export SHARE
VARLIB="/var/lib/monkeysphere"
export VARLIB
VARLIB="/var/lib/monkeysphere"
export VARLIB
-#
date in UTF
format if needed
+#
UTC date in ISO 8601
format if needed
DATE=$(date -u '+%FT%T')
# unset some environment variables that could screw things up
DATE=$(date -u '+%FT%T')
# unset some environment variables that could screw things up
@@
-572,6
+572,10
@@
diagnostics() {
echo "! No monkeysphere user found! Please create a monkeysphere system user."
fi
echo "! No monkeysphere user found! Please create a monkeysphere system user."
fi
+ if ! [ -d "$VARLIB" ] ; then
+ echo "! no $VARLIB directory found. Please create it."
+ fi
+
echo "Checking host GPG key..."
if (( "$keysfound" < 1 )); then
echo "! No host key found."
echo "Checking host GPG key..."
if (( "$keysfound" < 1 )); then
echo "! No host key found."