formula-consul/consul/files/consul.service
2016-04-22 11:40:14 +01:00

14 lines
No EOL
306 B
Desktop File

[Unit]
Description=consul
Wants=network.target
After=network.target
[Service]
Environment="GOMAXPROCS=2" "PATH=/usr/local/bin:/usr/bin:/bin"
ExecStart=/usr/local/bin/consul agent -config-dir=/etc/consul.d
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=TERM
User=consul
[Install]
WantedBy=multi-user.target