Hi, Hartmut Goebel <h.goe...@crazy-compilers.com> skribis:
> Am 03.07.23 um 02:01 schrieb jgart: >> Starting multiple workers: >> >> $ herd start microblog-tasks@{1..4} >> $ herd status microblog-tasks@{1..4} > > Please note that this syntax is expanted by the shell! Thus these > commands are the same as > > $ herd start microblog-tasks@1 microblog-tasks@2 microblog-tasks@3 > microblog-tasks@4 > $ herd status microblog-tasks@1 microblog-tasks@2 microblog-tasks@3 > microblog-tasks@4 Ah yes, sorry for not noticing! The problem with this syntax is that currently ‘start’ procedures can take an arbitrary number of arguments: herd start foo x y z means that the ‘start’ procedure of foo is passed x, y, and z as arguments. It’s occasionally useful and we do have a few System/Home services that use it (‘home-pulseaudio-rtp-sink-service-type’, ‘guix-service-type’, ‘documentation-service-type’ in the installer). So I think we can’t just remove support for that syntax. Not sure how to improve on that. Ludo’.