mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Remove old Upstart job file. Add systemd unit file. Edit Consul configuration file template to address systemd compatibility. Modify Ansible playbook to address systemd compatibility. Add missing OVN setup script. Remove unneeded files. Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
17 lines
349 B
Desktop File
17 lines
349 B
Desktop File
[Unit]
|
|
Description=Consul Server
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
User=consul
|
|
Group=consul
|
|
Environment="GOMAXPROCS=2"
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGINT
|
|
ExecStart=/usr/local/bin/consul agent -config-dir=/etc/consul.d/server
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|