summaryrefslogtreecommitdiffstats
path: root/services/etc
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-01-31 19:41:11 +0100
committerlassulus <lassulus@googlemail.com>2013-01-31 19:41:11 +0100
commit5f8f9ea9e5f10abcef9c12d48345c098dca78199 (patch)
treec4dd748d5c152445569d7dfd2d0877ef66a95daa /services/etc
parent7c050acc2559c622b831d9193e2336c15f42de6d (diff)
parent9461f6ece9f674588327c6dc3199fc0d7618ac48 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'services/etc')
-rw-r--r--services/etc/conf.d/krebs-services-test-server3
-rw-r--r--services/etc/services/bootstrap9
-rw-r--r--services/etc/systemd/system/krebs-services-test-server.service14
3 files changed, 26 insertions, 0 deletions
diff --git a/services/etc/conf.d/krebs-services-test-server b/services/etc/conf.d/krebs-services-test-server
new file mode 100644
index 00000000..243054f4
--- /dev/null
+++ b/services/etc/conf.d/krebs-services-test-server
@@ -0,0 +1,3 @@
+authorized_keys_file=/krebs/services/authorized_keys
+services_file=/opt/services/services.txt
+host_key_file=/opt/services/test.key
diff --git a/services/etc/services/bootstrap b/services/etc/services/bootstrap
new file mode 100644
index 00000000..8c848146
--- /dev/null
+++ b/services/etc/services/bootstrap
@@ -0,0 +1,9 @@
+services://destroy
+services://ire
+services://darth_serious:22
+services://pigstarter:22
+services://incept:22
+services://rage:22
+services://devstar:22
+services://heidi:22
+services://geisha:22
diff --git a/services/etc/systemd/system/krebs-services-test-server.service b/services/etc/systemd/system/krebs-services-test-server.service
new file mode 100644
index 00000000..99578cce
--- /dev/null
+++ b/services/etc/systemd/system/krebs-services-test-server.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=services: provider
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/krebs-services-test-server
+ExecStart=/krebs/services/test-server.py
+KillMode=process
+User=services
+Group=services
+Restart=no
+
+[Install]
+WantedBy=multi-user.target