diff options
author | tv <tv@nomic.retiolum> | 2013-01-30 01:12:06 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-01-30 01:12:06 +0100 |
commit | 0c37512813f26c098e2c1d34c42e6b843009e9b2 (patch) | |
tree | b6fa2758106ae10ddcd56bc6a15f20630b2ec0e4 | |
parent | c17d13380945c0909adeddd2375c1c9c8aa26782 (diff) |
//service README: install test-server.py as systemd service on arch
-rw-r--r-- | services/README.md | 28 |
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 |