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
There are several options like ExecStart, DeviceAllow, or Environment
which can be specified multiple times in systemd units,
where nix only allow one instances due type restrictions.
This leads to ugly workarounds, when multiple entries would be needed (example: #17933, #18822).
The only idea I had, was to support lists as arguments as well,
as single arguments. However this reminds a little bit of perl, where functions act different depending
on the argument type passed, so this may lead to unpleasant surprises.
Any ideas?
The text was updated successfully, but these errors were encountered:
I didn't tried with DeviceAllow and Environment, but for ExecStart it is possible to use a list for multiple lines. (In #17933script is a deliberate choice for the flexibility it brings)
Issue description
There are several options like
ExecStart
,DeviceAllow
, orEnvironment
which can be specified multiple times in systemd units,
where nix only allow one instances due type restrictions.
This leads to ugly workarounds, when multiple entries would be needed (example: #17933, #18822).
The only idea I had, was to support lists as arguments as well,
as single arguments. However this reminds a little bit of perl, where functions act different depending
on the argument type passed, so this may lead to unpleasant surprises.
Any ideas?
The text was updated successfully, but these errors were encountered: