:: Re: [DNG] Felker Init: was without-…
Página Inicial
Delete this message
Reply to this message
Autor: wirelessduck
Data:  
Para: dng
Assunto: Re: [DNG] Felker Init: was without-systemd.org not working


>> On 21 May 2020, at 17:31, Steve Litt <slitt@???> wrote:
>>
>> On Thu, 21 May 2020 05:13:52 +0100
>> tuxd3v@??? wrote:
>>
>> Citando Steve Litt <slitt@???>:
>>> 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<- - -