Am 01.09.22 um 11:10 schrieb Harald Bergmann:
Hello Michael,

please test the told COMMAND LINE with multiple commands, before closing.
Many thanks!


ExecStart* is not a shell. You can't run multiple commands there.
You can use multiple ExecStartPre lines though.


ExecStartPre=+/bin/mkdir -p <folder> ; +chown -R <user>:<group> <folder

is invalid syntax

Use
ExecStarPre=+mkdir
ExecStartPre=+chown



If you want shell syntax, you need to use a shell:
ExecStartPre=sh -c "command1; command2;..."

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to