path: root/nomad-server.hcl
diff options
authorJ. Konrad Tegtmeier-Rottach2019-06-19 15:09:51 +0200
committerJ. Konrad Tegtmeier-Rottach2019-06-19 15:09:51 +0200
commite9805ed1aeaca7ebe24a98952726dc93046d5268 (patch)
treee49921bb36388ceb62359fcd17f013abe22a2e61 /nomad-server.hcl
parent953857a442453dc713e8e55529736c33332becae (diff)
split configuration and services for server and client
We split the single service and config file into one each for the server and client. This is adapted from, and is more in line with, the non-bin package and should ease users' switching between the two versions of the package. Please note that the name of the systemd service has changed due to the split, and that you will probably need to review/adapt your configuration files.
Diffstat (limited to 'nomad-server.hcl')
1 files changed, 16 insertions, 0 deletions
diff --git a/nomad-server.hcl b/nomad-server.hcl
new file mode 100644
index 00000000000..73b1fae06a6
--- /dev/null
+++ b/nomad-server.hcl
@@ -0,0 +1,16 @@
+# This example config is neither production-ready
+# nor secure. Please consult the official docs
+# for full configuration instructions.
+bind_addr = ""
+data_dir = "/var/lib/nomad"
+leave_on_interrupt = true
+leave_on_terminate = true
+disable_update_check = true
+server {
+ bootstrap_expect = 1