Re: s6/s6-rc policy for Gentoo: config files for service scripts
Hoël Bézier <[email protected]> Thu, 19 Sep 2024 20:28:58 +0200
| Newsgroups | gmane.comp.sysutils.supervision.general |
|---|---|
| Message-ID | <Zuxta7MckTbrOdey@sparta> |
Am Do, Sep 19, 2024 am 07:51:50 +0200 schrieb Jan Braun:
>> Allowing the sysadmin to completely override the service.
>> Unfortunately this also forces the sysadmin to override the service for
>> every so little change,
>
>... then begs the question: what's the advantage of having the
>${S6CONFIGDIR}/system/config/seatd entry point at all? How much effort
>does this save the admin over creating their own my_seatd service and
>disabling the one you provide?
>(Honest question, I don't fully grok s6.)
It doesn’t save any effort at all.
>Being able to easily add custom services is a necessity anyway.
>
>So maybe don't allow any customization (besides disabling) at all, ship
>
>| #!/bin/execlineb -P
>| fdmove -c 2 1
>| seatd -n3 -u root -g seatd
>
>and teach users to create new services with the 3rd line changed to
>whatever they need.
For the record, I’m also in favor of this: the simpler the service scripts, the
better in my opinion. They’re easier to understand, simpler to adapt. A short
and direct script can be as descriptive as descriptive configuration files
sometimes, but better because you actually know everything that takes place. :D
Hoël
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElZjiR4iQkYjVEGdt6jPCPrF3Nk0FAmbsbWoACgkQ6jPCPrF3 Nk0cLhAAqDw9CYoG+Gd0x7/Ny+Ik4UoevuMCTELZrbn8gGM6/WrM9kfSukJd7PDC NfjFg4xXTnkaLk9vtCTYyO/+tTNW6N1XqG6K0+TOwjWt7PQvrEhlJqUOlJZWi3I8 qfPSwDZgh9TO/KwDmHKq8bOv+b4XnD2r0rjhhK7QYgBFTOEXe2aE7rmf6pCx8inq tXsRoWHNHxK3AkZxpLLJBKyxPAIpBWE1jCJK5YTdYsoLcKizO+gWML7P5O9NDtyL Ry8WUDhvLZ/MAQ0jJBBIXKKIs+i8Udu1hDOqahCpi3BCkWiW+v+9+EsF3rusVzhY 5peEiUDtEEkT+iOXA8EouLBo7lMvv9cP628JGQ1GIi27VVEf6ipPy+uNSqYCoghT ju2DPFh+7w4MUC1TpEchpPnPTQvPrNDOiSno8CAHYIkPgU8UMhgZsxq4Duo07VFP SrKcdwOTA99RgS5BSTsz7KQ+AARq8fpLqV99DbswG4pyLc5gDEK61kfx+cfzhFgI LZ0axiXNgKOvKFpU7FJQ4ngS8eJBCOeMgEqPGaXvCZWJqGhf/JgAdoXYN4oy/MWR D3S2ZmD0S8xusZLOAxImolVEHjw5dxN0Y8aSBcqOpO9gvYeUt8iMwEFpe+KydcXy gSHeeaOX26faZgTQiP8ZvKSlKkYfWg0bFYvrHvrauo7chF3gr5s= =D0bG -----END PGP SIGNATURE-----