projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051d1b0
)
added m-s diagnostics test for presence of monkeysphere system user.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 4 Sep 2008 23:09:24 +0000
(19:09 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 4 Sep 2008 23:09:24 +0000
(19:09 -0400)
src/monkeysphere-server
patch
|
blob
|
history
diff --git
a/src/monkeysphere-server
b/src/monkeysphere-server
index d2cac0e673570f50630e2a664739c23623796b5e..f1472019d6097a4c7d0eb1a5f68568660d29c451 100755
(executable)
--- a/
src/monkeysphere-server
+++ b/
src/monkeysphere-server
@@
-568,6
+568,10
@@
diagnostics() {
warnwindow='2 months'
warndate=$(date +%s -d "$warnwindow")
+ if ! id monkeysphere >/dev/null ; then
+ echo "! No monkeysphere user found! Please create a monkeysphere system user."
+ fi
+
echo "Checking host GPG key..."
if (( "$keysfound" < 1 )); then
echo "! No host key found."