summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-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