From 9ac58b31e305936dfb85bde0cba2fdde96f2846b Mon Sep 17 00:00:00 2001 From: Miroslav Genov Date: Wed, 30 Mar 2016 10:26:26 +0300 Subject: [PATCH] nomad/examples: update systemd config files The existing nomad.service is having minor configuration and this change adds the following: * Install section that allows nomad to be able enabled in systemd * Default limit of open files is set to 65536 --- dist/systemd/nomad.service | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/systemd/nomad.service b/dist/systemd/nomad.service index c2377af29..aa885f785 100644 --- a/dist/systemd/nomad.service +++ b/dist/systemd/nomad.service @@ -3,4 +3,8 @@ Description=Nomad Documentation=https://nomadproject.io/docs/ [Service] -ExecStart=/usr/bin/nomad agent -config /etc/nomad \ No newline at end of file +ExecStart=/usr/bin/nomad agent -config /etc/nomad +LimitNOFILE=65536 + +[Install] +WantedBy=multi-user.target