I don't think there are any undocumented certbot settings for that. Here are two threads with comments by a certbot dev for different options to set the variable. I thought the systemd method was clever although is only works with scheduled tasks.
5 Likes