I'm beginning to use
supervisord to control services in my server. I'm not a pro user of linux but can get with it quite well and get it running.
Just out of curiosity, I've noticed that most commands in supervisord seem to be called like:
[program:install] command=bash -c "/src/etc/install.sh"
I've read bash's man, and know that
-c should be used to insert variables passed after the string.
So what's the point in using
bash -c in supervisor (or any other place) instead of calling the script directly (like example below), considering that no variables where passed/used?