~/certs and ~/.acme.sh for the acme user and provide a sample account.conf
|45 ↗||(On Diff #30324)|
You cannot put sample files in there. You have to move them somewhere else, like EXAMPLESDIR.
So all the files in there are always used. If you put a .sample file, it will be used.
Also, the file should probably be named acme.sh, and not the very long name you have now.
|9–11 ↗||(On Diff #30324)|
/usr/bin/install -d -o acme -g acme -m 750 ~/acme/.acme.sh
|15–17 ↗||(On Diff #30324)|
/usr/bin/install -d -o acme -g acme -m 750 ~/acme/certs
|21 ↗||(On Diff #30324)|
I would use %%EXAMPLESDIR%% directly here, no real need to create a variable.