Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Bad keyword "ConditionalFileNotEmpty" in generated systemd config #114

Open
markus-sara opened this issue Mar 17, 2022 · 0 comments
Open
Labels

Comments

@markus-sara
Copy link

Describe the bug

The script modules/run-nomad/run-nomad generates a systemd config with a typo.
The generated keyword "ConditionalFileNotEmpty" in the [Unit], should be "ConditionFileNotEmpty".

To Reproduce

  • Create a Nomad cluster using Terraform that uses this script to run Nomad on a server node.
  • Log in to a server node, run journalctl -u nomad.service
  • The output shows /etc/systemd/system/nomad.service:6: Unknown lvalue 'ConditionalFileNotEmpty' in section 'Unit'

Expected behavior

With "ConditionFileNotEmpty", I expect this error gone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant