From 04ac86fe72b21aec144c330561c4783e3e657fc6 Mon Sep 17 00:00:00 2001 From: Thomas Bock <thomas.bock@ptb.de> Date: Tue, 9 Apr 2019 13:03:36 +0200 Subject: [PATCH] +systemctrl rdm --- README.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e63b02..4b27fd4 100644 --- a/README.md +++ b/README.md @@ -90,11 +90,28 @@ Returns the version of the xsd-definition. The version is given at ``` > curl http://localhost:5005/version_xsd -<version> -+--------------------------+ | DCC-Schema Version 1.9.0 | +--------------------------+ -</version> +<version>1.9.2</version> `` ### /update [POST] -Updates the server; used by webhook (no security checks so far). \ No newline at end of file +Updates the server; used by webhook (no security checks so far). + + +### install daemon and start + +``` + > cd /usr/local/share/xml-validation # working directory + > sudo nobody + > git clone git@a75436.berlin.ptb.de:vaclab/xml-validation.git + > cd xml-validation + > + > ## follow instructions of chapter --> virtual env + > ## follow instructions of chapter --> install dependencies + > + > sudo systemctl daemon-reload # if already exist + > sudo systemctl link $PWD/xml-validation.service # make permanent + > sudo systemctl restart xml-validation.service + > sudo systemctl status xml-validation.service # running? + > journalctl -f --unit xml-validation.service # run-time check +``` -- GitLab