Skip to content

Commit

Permalink
Fix systemd unit file
Browse files Browse the repository at this point in the history
  • Loading branch information
brianshumate committed Mar 19, 2017
1 parent 667ebb5 commit c38e39a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,7 @@
## v1.3.2

- Make vault user a system account

## v1.3.3

- Update systemd unit file
7 changes: 4 additions & 3 deletions templates/vault_systemd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@

[Unit]
Description=Vault secret management tool
Wants=basic.target
After=basic.target network.target
Requires=network-online.target
After=network-online.target

[Service]
User={{ vault_user }}
Group={{ vault_group }}
PIDFile=/var/run/vault/vault.pid
ExecStart="{{ vault_bin_path }}/vault" server -config={{ vault_main_config }} {% if vault_log_level is defined %}-log-level={{ vault_log_level | lower }}
ExecStart={{ vault_bin_path }}/vault server -config={{ vault_main_config }} {% if vault_log_level is defined %}-log-level={{ vault_log_level | lower }}
{% endif %}
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
KillSignal=SIGTERM
Restart=on-failure
RestartSec=42s

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.2
v1.3.3

0 comments on commit c38e39a

Please sign in to comment.