Fixed systemd service unit missing Install section

This commit is contained in:
Eric Renfro 2018-05-25 16:52:12 -04:00
parent c7b8b44d41
commit 23edd149ef
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=vault server Description=vault server
Requires=network-online.target Requires=network-online.target{% if config.storage and config.storage.type == "consul" %} consul.service{% endif %}
After=network-online.target{% if config.storage and config.storage.type == "consul" %} consul.service{% endif %} After=network-online.target{% if config.storage and config.storage.type == "consul" %} consul.service{% endif %}
[Service] [Service]
@ -16,3 +16,6 @@ AmbientCapabilities=CAP_IPC_LOCK
SecureBits=keep-caps SecureBits=keep-caps
NoNewPrivileges=yes NoNewPrivileges=yes
KillSignal=SIGINT KillSignal=SIGINT
[Install]
WantedBy=multi-user.target