summaryrefslogtreecommitdiffstats
path: root/services/README.md
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-01-30 01:16:39 +0100
committertv <tv@nomic.retiolum>2013-01-30 01:16:39 +0100
commit9577db8e98c94e0b8e36fed70cfd246f98f0344a (patch)
tree82230b78e2a1fa08594dcf9b841078b609f8fbff /services/README.md
parent0c37512813f26c098e2c1d34c42e6b843009e9b2 (diff)
//services README: generate test.key
Diffstat (limited to 'services/README.md')
-rw-r--r--services/README.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/services/README.md b/services/README.md
index eff94113..e0769bce 100644
--- a/services/README.md
+++ b/services/README.md
@@ -10,19 +10,16 @@
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
+### create services user and populate it's home
useradd -m -r -l -f -1 -d /opt/services -k /var/empty services
-
-### configure test-server.py
-
+ sudo -u services ssh-keygen -t rsa -P '' -f /opt/services/test.key
$EDITOR /opt/services/services.txt
-### run
+### run now and every reboot
- systemctl enable krebs-services-test-server
systemctl start krebs-services-test-server
+ systemctl enable krebs-services-test-server