We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fd976c + d76f877 commit ced664eCopy full SHA for ced664e
templates/consul.systemd.j2
@@ -8,6 +8,8 @@ Environment="GOMAXPROCS=`nproc`"
8
Restart=on-failure
9
User={{ consul_user }}
10
Group={{ consul_group }}
11
+PermissionsStartOnly=true
12
+ExecStartPre=/sbin/setcap CAP_NET_BIND_SERVICE=+eip {{ consul_home }}/bin/consul
13
ExecStart={{ consul_home }}/bin/consul agent -config-dir {{ consul_config_dir }} -config-file={{ consul_config_file }}
14
ExecReload=/bin/kill -HUP $MAINPID
15
KillSignal=SIGINT
0 commit comments