>> On 21 May 2020, at 17:31, Steve Litt <sl...@troubleshooters.com> wrote:
>>
>> On Thu, 21 May 2020 05:13:52 +0100
>> tux...@sapo.pt wrote:
>>
>> Citando Steve Litt <sl...@troubleshooters.com>:
>>> This whole discussion balances on the definition of "shell aware".
>>> What is "shell aware?"
>>> SteveT
>> Have you tried to write shell script code into the execution command
>> of a systemd unit file?
>> it doesn't work right?!
>> Why do you think it doesn't work?
>
> Because it's a configuration file, not a script.
I think they mean the specific “ExecStart=” line in the unit file that
references the executable file and it’s arguments to run when the service is
started.
https://www.freedesktop.org/software/systemd/man/systemd.service.html
Ref: § Command Lines
- - -8<- - -
This syntax is inspired by shell syntax, but only the meta-characters and
expansions described in the following paragraphs are understood, and the
expansion of variables is different. Specifically, redirection using "<", "<<",
">", and ">>", pipes using "|", running programs in the background using "&",
and other elements of shell syntax are not supported.
- - -8<- - -
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng