Multiple commands #410
Answered
by
davmac314
omnigenous
asked this question in
Q&A
logs: hello & sleep 3 && echo world logs: hello: -c: line 1: unexpected EOF while looking for matching `'' Is there a proper way to do this without creating separate script file? I basically need to run another command once daemon is started (first command) |
Answered by
davmac314
Nov 10, 2024
Replies: 2 comments 1 reply
|
Use double quotes (") not single quotes ('). Single quotes are meaningless to dinit; see the documentation. |
1 reply
Answer selected by
omnigenous
|
What if we could pile multiple "command" and "stop-command" lines with scripted services ? They don't have to keep track of PID, all it would do would be chaining commands. It would avoid the ugly of sight of a shell call. And would provide much appreciated symmetry with directives allowing for multiple lines. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use double quotes (") not single quotes ('). Single quotes are meaningless to dinit; see the documentation.