-
Notifications
You must be signed in to change notification settings - Fork 19
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
systemd: switch to Type=simple #13
Comments
Not sure if the "failed state" when powerman is stopped indicates a problem with the way we are stopping powermand:
For symmetry, the journal output during start:
|
This was referenced Jan 23, 2024
garlick
added a commit
to garlick/powerman
that referenced
this issue
Feb 2, 2024
Problem: powermand runs as a Type=forking systemd service, but Type=simple is recommended by systemd.service(5). Switch to Type=simple (the default). Drop the tmpfiles.d configuration which was for managing /run/powerman on systemd < v233 (now ancient). Powerman doesn't need the rundir anyway when not running in daemon mode, since all it does is store a pidfile there. Fixes chaos#13
garlick
added a commit
to garlick/powerman
that referenced
this issue
Feb 2, 2024
Problem: powermand runs as a Type=forking systemd service, but Type=simple is recommended by systemd.service(5). Switch to Type=simple (the default). Drop the tmpfiles.d configuration which was for managing /run/powerman on systemd < v233 (now ancient). Powerman doesn't need the rundir anyway when not running in daemon mode, since all it does is store a pidfile there. Fixes chaos#13
garlick
added a commit
to garlick/powerman
that referenced
this issue
Feb 3, 2024
Problem: powermand runs as a Type=forking systemd service, but Type=simple is recommended by systemd.service(5). Switch to Type=simple (the default). Drop the tmpfiles.d configuration which was for managing /run/powerman on systemd < v233 (now ancient). Powerman doesn't need the rundir anyway when not running in daemon mode, since all it does is store a pidfile there. Fixes chaos#13
chu11
pushed a commit
to chu11/powerman
that referenced
this issue
Apr 4, 2024
Problem: powermand runs as a Type=forking systemd service, but Type=simple is recommended by systemd.service(5). Switch to Type=simple (the default). Drop the tmpfiles.d configuration which was for managing /run/powerman on systemd < v233 (now ancient). Powerman doesn't need the rundir anyway when not running in daemon mode, since all it does is store a pidfile there. Fixes chaos#13
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The recently added systemd unit files need an audit against fedora packaging guidelines
When
systemctl stop powerman
is run, a failure message is left in the journal that should be investigated.Perhaps it would better to run powermand in non-forking
Type=simple
mode?The text was updated successfully, but these errors were encountered: