summaryrefslogtreecommitdiffstats
path: root/services/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'services/README.md')
-rw-r--r--services/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/services/README.md b/services/README.md
new file mode 100644
index 00000000..eff94113
--- /dev/null
+++ b/services/README.md
@@ -0,0 +1,28 @@
+# //services
+
+## install and run test-server.py as systemd service
+
+### install dependencies
+
+ pacman -S python2-pyasn1 twisted
+
+### install systemd service and configuration
+
+ cp /krebs/services/etc/systemd/system/krebs-services-test-server.service \
+ /etc/systemd/system/
+
+ cp /krebs/services/etc/conf.d/krebs-services-test-server \
+ /etc/conf.d/
+
+### create services user
+
+ useradd -m -r -l -f -1 -d /opt/services -k /var/empty services
+
+### configure test-server.py
+
+ $EDITOR /opt/services/services.txt
+
+### run
+
+ systemctl enable krebs-services-test-server
+ systemctl start krebs-services-test-server