Add a new graphdb user automatically
This commit is contained in:
parent
f22e658183
commit
30ca61c05f
5 changed files with 60 additions and 7 deletions
|
|
@ -29,6 +29,10 @@ mysql -e "FLUSH PRIVILEGES;"
|
|||
log_info " => Deleting GraphDB repository '$GRAPHDB_REPO'"
|
||||
curl -X DELETE http://127.0.0.1:7200/rest/repositories/$GRAPHDB_REPO/
|
||||
|
||||
log_info " => Deleting GraphDB user '$GRAPHDB_USER'"
|
||||
curl -X DELETE http://127.0.0.1:7200/rest/security/user/$GRAPHDB_USER/
|
||||
|
||||
|
||||
log_info " => Deleting system user and group '$SYSTEM_USER'"
|
||||
deluser "$SYSTEM_USER" || true
|
||||
delgroup "$SYSTEM_USER" || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue