recipe_debian_certbot.ts view source
(options?: CertbotReloadNginxHookOptions | undefined): RunPartsFile import {debian_certbot_reload_nginx_hook} from '@fuzdev/zap/recipe_debian_certbot.js'; Build the certbot deploy hook that reloads nginx via systemd after a renewal, ready
to spread into a zap.file({...}).
systemctl try-reload-or-restart acts only on a running unit, so the hook is a
successful no-op while nginx is stopped (the first --standalone issuance).
options?
returns
RunPartsFile a spreadable {path, mode, content} for an inline file resource.
throws
when- `options.name` holds a character outside `[A-Za-z0-9_-]`