Skip to content

Commit

Permalink
fix: systemd unit option ConditionFileExists
Browse files Browse the repository at this point in the history
- `ConditionFileExists` option does not exist, it should be `ConditionPathExists`. See [unit docs](https://www.freedesktop.org/software/systemd/man/systemd.unit.html#ConditionPathExists=).
ahjohannessen authored and bbaassssiiee committed Jul 21, 2021

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 6ce5475 commit 12d294d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/vault_service_systemd.j2
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ After=network-online.target
{% if vault_use_config_path %}
ConditionPathExists={{ vault_config_path }}
{% else %}
ConditionFileExists={{ vault_main_config }}
ConditionPathExists={{ vault_main_config }}
{% endif %}

[Service]

0 comments on commit 12d294d

Please sign in to comment.