aboutsummaryrefslogtreecommitdiffstats
path: root/package/sbin
AgeCommit message (Collapse)AuthorFilesLines
2022-10-24Do some code cleanup/optimizing (including bugfix)Thomas Lange1-48/+49
Do some code cleanup and optimizing, and fix a bug where the script will always return exit code 1 if LETSENCRYPT_COMMAND_AFTER wasn't defined. The bug was caused by this last line in the script: [ ! -z "${LETSENCRYPT_COMMAND_AFTER}" ] \ && eval $LETSENCRYPT_COMMAND_AFTER ... and has been fixed by putting the "eval $LETSENCRYPT_COMMAND_AFTER" line into a real "if" container so that it doesn't affect the exit code of the script when LETSENCRYPT_COMMAND_AFTER is undefined: if [ ! -z "${LETSENCRYPT_COMMAND_AFTER}" ]; then eval $LETSENCRYPT_COMMAND_AFTER fi
2022-10-24Use positional args (change usage instructions)Thomas Lange1-22/+30
Use positional arguments for providing the target directory and the list of DNS hostnames to include within the certificate. Change the usage instructions accordingly and optimize some sentences in README file.
2022-10-24Normalize command-line arguments with GNU getoptThomas Lange1-1/+6
2022-10-23Update production ACME endpoint addressThomas Lange1-1/+1
2022-10-22Put script into package directoryThomas Lange1-0/+122
Put the script into the package directory which reflects the directory structure of /usr/local. This makes it easily possible to install the script to /usr/local/sbin with a tool like *GNU Stow*.