-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Add a socket_service definition #197
base: master
Are you sure you want to change the base?
Conversation
systemd::socket_service is a typethat may have no external impact to Forge modules. This module is declared in 8 of 576 indexed public
|
In theforeman/puppet-pulpcore#199 I'm testing if the approach works. A draft until then. |
0805b45
to
5606850
Compare
5606850
to
a8b6d49
Compare
This now fails on https://tickets.puppetlabs.com/browse/MODULES-11018. I'll add a workaround. |
887c186
to
e8efe7e
Compare
For systemd socket activated services it's needed to have both the .socket and .service unit defintions in place when starting the service. Prior to 97dd16f the systemctl daemon-reload took care of it, but now this must be done explicitly. This new defined type makes it easy and reduces the burden on modules that define the unit/service pair.
e8efe7e
to
29473c6
Compare
I've rebased this, but too tired to fix the dependency cycles now. |
For systemd socket activated services it's needed to have both the .socket and .service unit defintions in place when starting the service. Prior to 97dd16f the systemctl daemon-reload took care of it, but now this must be done explicitly.
This new defined type makes it easy and reduces the burden on modules that define the unit/service pair.
I haven't tested this yet, but submitting it early so I can run CI on it and link it elsewhere.