-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 6 Mar 2017 14:05:25 +0100
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2017-03-06 13:20, Michal Suchánek wrote:
On Mon, 27 Feb 2017 19:52:28 +0100 "Carlos E. R." <> wrote:
Perhaps it is the systemd mechanism by which services in /usrsomething can be superseded by placing the same service file under /etcsomething. Erasing those files on /etc would revert to factory settings, no?
And it also allows the admin to replicate the changes easily on another machine, and to do updates without local modifications being erased.
That also means updates without service updates being applied.
Because you copy the *WHOLE* service, make changes, and any updates to the service are lost on update.
Well, you can instead edit the original service file, and perhaps when the rpm is updated you get rpmorig files.
Sane services are configurable so you put a file in /etc/ that configures the service and do not change the service itself unless you need to fix some error in the service definition.
Well, initd services were not configurable that way either (except that configuration that a particular service would design). We had to edit the service script, and watch out on updates for replacements (rpmorig etc).
Except it was commonplace for init scripts to design a configuration option (eg. reading in /etc/default/service file) when the service they started was configurable in any way and it is uncommon for systemd services to design such. It is not that the option does not exist (at least for some cases - I have no idea how I would configure raising the limit on filehandles for a systemd service to a user-specifed value set outside of the service file). It is just that it's not common practice. Meaning it makes systemd based systems more cumbersome to manage, in practice. Michal -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJYvXAlAAoJEFCz6i1PzvpbmJAH/0jjkiFH/0+oCMAgXb0F147r s5twnKbrz2Do6jl5MTcu57YOpaUVk7aTiRFcGuHtKWEXKjvk+ZaaZTCqxFno079X kEqOgtWUa6IQ43IWAhrnRVyEM9eeK23YQ+NckP+Aw++zmoOgoFi0qQ7NvqK4/WgE hlWHtM4JA6DgUIOt+Xr8jt4wIgKzPlgRse7380eKKk9v+c0xK8llHDf8vxnTD8wM xxrdixQoGI7esRGPFL0Z2AYR5VbAE/HNhFG4kjcFDwIlWCbWNpV3P39CsNRuq5Se xvW6z9VuIu1FMzUHDJB6MCQV9GJYe2B9V4fhCDOmvje/lxhzX/utZe3tIJepTHA= =8Z+2 -----END PGP SIGNATURE-----