summarylogtreecommitdiffstats
path: root/nomad-server.service
diff options
context:
space:
mode:
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.service
parent953857a442453dc713e8e55529736c33332becae (diff)
downloadaur-e9805ed1aeaca7ebe24a98952726dc93046d5268.tar.gz
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.service')
-rw-r--r--nomad-server.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/nomad-server.service b/nomad-server.service
new file mode 100644
index 00000000000..92564ff1ebb
--- /dev/null
+++ b/nomad-server.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Nomad cluster scheduling server agent
+Documentation=https://www.nomadproject.io/docs/agent/
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+ExecStart=/usr/bin/nomad agent -server -config /etc/nomad/server.conf
+
+[Install]
+WantedBy=multi-user.target