You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, mptcpize will modify the vendor provided systemd service file located at /lib/systemd/system/*.service.
This approach is problematic because that file can and will change when new versions of the package that owns it are installed. The result is that the mptcpize modification to that file is unexpectedly lost.
Furthermore, using the un-versioned library name (libmptcpwrap.so as opposed to libmptcpwrap.so.0.0.1) will avoid unexpected breakage when the version changes in the future.
The text was updated successfully, but these errors were encountered:
candrews
changed the title
mptcpize: use systemd overrides instead of editting vendor provided .service
mptcpize: use systemd overrides instead of editing vendor provided .service
Jan 31, 2022
Is your feature request related to a problem? Please describe.
Currently,
mptcpize
will modify the vendor provided systemd service file located at/lib/systemd/system/*.service
.This approach is problematic because that file can and will change when new versions of the package that owns it are installed. The result is that the mptcpize modification to that file is unexpectedly lost.
Describe the solution you'd like
systemd provides overrides as a solution to this problem. See https://www.freedesktop.org/software/systemd/man/systemd.unit.html
For example, I suggest that
mptcpize enable xyz
creates a file at/etc/systemd/system/apache2.service.d/mptcpize.conf
with these contents:Furthermore, using the un-versioned library name (
libmptcpwrap.so
as opposed tolibmptcpwrap.so.0.0.1
) will avoid unexpected breakage when the version changes in the future.The text was updated successfully, but these errors were encountered: