Last active
October 1, 2020 05:41
-
-
Save hacker1024/a0c30df69f74a60473ee3d33f9c84832 to your computer and use it in GitHub Desktop.
Caddy 2 systemd service override to load a JSON configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/caddy run --environ --config /etc/caddy/Caddyfile.json | |
ExecReload= | |
ExecReload=/usr/bin/caddy reload --config /etc/caddy/Caddyfile.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This file belongs in
/etc/systemd/system/caddy.service.d/override.conf
.