Skip to content
Advertisement

Tag: brace-expansion

Bash Brace Expansion in Systemd ExecStart

The following test is in CentOS 7.1. Create the following file test.service in /usr/lib/systemd/system/ and execute systemctl daemon-reload; systemctl restart test; systemctl status test -l There is no output of the value as the ${a} does not substitute as the word hello world, until it is changed echo ${a} into echo $a : Work echo $${a}: Work The $$ means

Advertisement