diff options
author | root <root@ire.retiolum> | 2013-01-29 18:49:05 +0100 |
---|---|---|
committer | root <root@ire.retiolum> | 2013-01-29 18:49:05 +0100 |
commit | 96d04da93bcbd42e8d1b419fea659e5eb8764437 (patch) | |
tree | 7201e98ed9d3ef6a00783102d9c86396b347e1b3 /services/etc | |
parent | ea60224f28cf702053d8fd06ef32cc683ed4aff1 (diff) |
//services test-server: add systemd configuration
Diffstat (limited to 'services/etc')
-rw-r--r-- | services/etc/conf.d/krebs-services-test-server | 3 | ||||
-rw-r--r-- | services/etc/systemd/system/krebs-services-test-server.service | 14 |
2 files changed, 17 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/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 |