summarylogtreecommitdiffstats
path: root/nomad-server.service
diff options
context:
space:
mode:
authorMassimiliano Torromeo2016-02-26 12:19:03 +0100
committerMassimiliano Torromeo2016-02-26 12:19:03 +0100
commit165f4cc54bb76ecc8730a91abd8d4383f8b1a9b7 (patch)
tree41a72566603e2ab33acd8036662444e594d3482d /nomad-server.service
parent93548fdc0c4d640a23ce7862446ec657b27d3b12 (diff)
downloadaur-165f4cc54bb76ecc8730a91abd8d4383f8b1a9b7.tar.gz
Implemented basic configuration files and service units
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