Skip to content

Commit

Permalink
Run nomad as root user
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Mar 1, 2024
1 parent d90d563 commit 84d1719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nomad/production.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ server {

client {
enabled = true
# https://github.com/hashicorp/nomad/issues/18871#issuecomment-1781207268
cpu_total_compute = 9000
}

plugin "docker" {
Expand Down
2 changes: 2 additions & 0 deletions systemd/nomad.service
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
LimitNOFILE=65536
User=root
Group=root

[Install]
WantedBy=multi-user.target

0 comments on commit 84d1719

Please sign in to comment.