HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add mccarthy as admin web server and mail node
[hcoop/domtool2.git]
/
bootstrap
/
bootstrap
diff --git
a/bootstrap/bootstrap
b/bootstrap/bootstrap
index
ba59893
..
b3a6a4f
100755
(executable)
--- a/
bootstrap/bootstrap
+++ b/
bootstrap/bootstrap
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-e
# Bootstrap everything for a DEVELOPMENT ENVIRONMENT (an insecure one
# at that), assuming you are going to be domtool root
# Bootstrap everything for a DEVELOPMENT ENVIRONMENT (an insecure one
# at that), assuming you are going to be domtool root
@@
-12,3
+12,11
@@
fi
./domtool-create-ca -force
./domtool-init-truststore
./domtool-init-acl `whoami`
./domtool-create-ca -force
./domtool-init-truststore
./domtool-init-acl `whoami`
+domtool-addcert `uname -n` -unsafe
+
+/usr/local/sbin/domtool-server &
+SERVER_PID=$!
+
+domtool-adduser `whoami` -unsafe
+
+kill $SERVER_PID