Originally created by @darix on GitHub (Sep 16, 2021).
at least until we get multi CA support
dehydrated --init-config /path/to/dir/
create all the subdirectories with all the proper permissions. copy a skeleton config from /usr/share/dehydrated/config/
Originally created by @darix on GitHub (Sep 16, 2021).
at least until we get multi CA support
`dehydrated --init-config /path/to/dir/`
create all the subdirectories with all the proper permissions. copy a skeleton config from `/usr/share/dehydrated/config/`
Mh... not entirely sure how to actually implement this.
If there would be a defined path for all of the example files (like the /usr/share path you suggested) this would be easy, but there are tons of setups out there where this isn't the case and the script often is installed standalone without the rest of the repository...
For a good solution I'd need to somehow package the example files inside the main script. I'm working on splitting dehydrated into multiple source files, making it easier to work on it, with a script bundling everything back together into one big script. As part of that "build" script I could add the example files with escaped newlines to the script... mh...
@lukas2511 commented on GitHub (Oct 31, 2021):
Mh... not entirely sure how to actually implement this.
If there would be a defined path for all of the example files (like the `/usr/share` path you suggested) this would be easy, but there are tons of setups out there where this isn't the case and the script often is installed standalone without the rest of the repository...
For a good solution I'd need to somehow package the example files inside the main script. I'm working on splitting dehydrated into multiple source files, making it easier to work on it, with a script bundling everything back together into one big script. As part of that "build" script I could add the example files with escaped newlines to the script... mh...
tbh if you split out files anyway i would use /usr/share/dehydrated/ for code and /usr/share/dehydrated/skeleton/ for the base config and not merge the files into one big script anymore.
@darix commented on GitHub (Nov 9, 2021):
tbh if you split out files anyway i would use /usr/share/dehydrated/ for code and /usr/share/dehydrated/skeleton/ for the base config and not merge the files into one big script anymore.
No, dehydrated will still be delivered as a single shell-script, but it will be constructed from multiple parts just to make it easier to work on. Super simple build system, maybe even just a cat * > ../dehydrated :D
@lukas2511 commented on GitHub (Nov 16, 2021):
No, dehydrated will still be delivered as a single shell-script, but it will be constructed from multiple parts just to make it easier to work on. Super simple build system, maybe even just a `cat * > ../dehydrated` :D
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @darix on GitHub (Sep 16, 2021).
at least until we get multi CA support
dehydrated --init-config /path/to/dir/create all the subdirectories with all the proper permissions. copy a skeleton config from
/usr/share/dehydrated/config/@lukas2511 commented on GitHub (Oct 31, 2021):
Mh... not entirely sure how to actually implement this.
If there would be a defined path for all of the example files (like the
/usr/sharepath you suggested) this would be easy, but there are tons of setups out there where this isn't the case and the script often is installed standalone without the rest of the repository...For a good solution I'd need to somehow package the example files inside the main script. I'm working on splitting dehydrated into multiple source files, making it easier to work on it, with a script bundling everything back together into one big script. As part of that "build" script I could add the example files with escaped newlines to the script... mh...
@darix commented on GitHub (Nov 9, 2021):
tbh if you split out files anyway i would use /usr/share/dehydrated/ for code and /usr/share/dehydrated/skeleton/ for the base config and not merge the files into one big script anymore.
@lukas2511 commented on GitHub (Nov 16, 2021):
No, dehydrated will still be delivered as a single shell-script, but it will be constructed from multiple parts just to make it easier to work on. Super simple build system, maybe even just a
cat * > ../dehydrated:D