-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nixos/glpi-agent: init #361759
base: master
Are you sure you want to change the base?
nixos/glpi-agent: init #361759
Conversation
22c6bd6
to
3965250
Compare
How to work :
|
Also this need a backport to 24.11 if is possible is tested and used on 24.11 |
9c7cfdf
to
9a03b8d
Compare
8dda0d2
to
43b340c
Compare
description = '' | ||
Configuration options that will be written to the configuration file. | ||
''; | ||
example = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an RFC42-style attrset?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I based myself on the previous modules.
Best Regards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't mean it's the right thing to do. See RFC 42.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this resolved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have remove obvious description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not my point. Please read RFC 42.
bfb0179
to
5528c1e
Compare
f947cce
to
b82c538
Compare
Group = "root"; | ||
Restart = "on-failure"; | ||
StateDirectory = "glpi-agent"; | ||
RuntimeDirectory = "glpi-agent"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes RuntimeDirectory is not more needed now that have been removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But other is used to run correctly the service.
b82c538
to
37e765f
Compare
37e765f
to
fb92f51
Compare
User = "root"; | ||
Restart = "on-failure"; | ||
StateDirectory = "glpi-agent"; | ||
WorkingDirectory = "/var/lib/glpi-agent"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this also necessary?
Fix : #361741
This PR is module for : #361746
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.