summarylogtreecommitdiffstats
path: root/nomad-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'nomad-server.service')
-rw-r--r--nomad-server.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/nomad-server.service b/nomad-server.service
new file mode 100644
index 00000000000..146faf518ca
--- /dev/null
+++ b/nomad-server.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=nomad server agent
+Documentation=https://www.nomadproject.io/docs/agent/
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/nomad agent -config /etc/nomad/server.conf -server
+
+[Install]
+WantedBy=multi-user.target