-
Notifications
You must be signed in to change notification settings - Fork 46
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
StateDirectory not available on Amazon Linux 2 #419
Comments
file in repo does not have it: |
I'm getting this with both |
There is however a file in the repo which does have it, and it's in |
ic. your systemd version? |
219 |
too old - 2015. that StateDirectory is needed for non-root service when /var/lib/logdna has to be created by systemd. |
Update:
|
@dkhokhlov Does this mean that we cannot use the latest version with AWS instances installing over yum? The info for Elastic Beanstalk would then also be not working? |
@TJDev if you install the package on Amazon Linux you need to manually modify the package-provided systemd service to be able to start it |
I have created a gist based on the former one for old logdna-agent with the requirements for AL2 (create directory, remove StateDirectory). Work in a test environment for me. https://gist.github.com/TJDev/df2262535895190599ff96d43a28c329 |
The packaged systemd service includes
StateDirectory
which doesn't seem to exist on Amazon Linux 2The text was updated successfully, but these errors were encountered: