Whitespace in values under /etc/letsencrypt/cli.ini

What is the correct way to introduce values with spaces in /etc/letsencrypt/cli.ini? What I need is

renew-hook = /usr/bin/php /some/script.php

Is it ok that way or mby some quoting is required?

I think this is already right.

@rg305, the first part should be the PHP interpreter and the second part the script to be interpreted. However, @dandelionred, you can also get around needing to run the interpreter explicitly by making the first line of the script itself be


See also

There is a reason why I don’t use shebangs with php as well why I don’t put the whole command into a shell one-liner. Thanks for your reply! I was pretty sure quoting was not required, just needed someone to approve it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.