13 Jul
2026
13 Jul
'26
2:19 p.m.
On 7/13/26 05:42, Alyssa Ross wrote:
Demi Marie Obenour <demiobenour@gmail.com> writes:
Finish scripts can (and often will) be symbolic links to /usr/bin/cgroup-setup.
As we've previously discussed, using symlinks in s6-rc services is not a good idea. s6-rc-compile copies the contents of symlinks, meaning that if you have a symlink to a big binary, you end up with lots of copies of it in /run. It's better to use a regular execline script that execs the program you want to run.
What about having it be a symlink to an execline script? That's small enough to safely duplicate, and it keeps the code in one place in the repository. -- Sincerely, Demi Marie Obenour (she/her/hers)