Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The service template requires updating. (Unknown key name 'StartLimitIntervalSec') #111

Open
archaron opened this issue May 13, 2024 · 1 comment

Comments

@archaron
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.28.0
  • Ruby: 2.7.0p0
  • Distribution: Ubuntu 20.04.6 LTS (focal)
  • Module version: 3.1.0

How to reproduce (e.g Puppet code you use)

Use module to install nomad, start the serivce

What are you seeing

/etc/systemd/system/nomad.service:17: Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.

What behaviour did you expect instead

No errors on startup

Output log

/etc/systemd/system/nomad.service:17: Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.

Any additional information you'd like to impart

StartLimitIntervalSec and StartLimitBurst must be moved to section [Unit] for newer systemd versions (>229). Not sure, if all of the supported OSes uses appropriate systemd version.

Documentation

@TheMeier
Copy link
Contributor

It should use the systemd module instead of providing its own unit template

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

No branches or pull requests

2 participants