How can I change the value of some settings such as Restart=
to always
or on-failure
or something conditionally using some variable or anything else? I’ve already seen Environment=
and EnvironmentFile=
but those only change the environment of the executed process as far as I can tell.
Ideally, I’d wanna do something like Restart=$RESTART
where restart can be equal to the value I wanna set.