Skip to content

Instantly share code, notes, and snippets.

@svschannak
Last active May 11, 2017 10:37
Show Gist options
  • Save svschannak/0713522144a76cc92b878a8c4f968b12 to your computer and use it in GitHub Desktop.
Save svschannak/0713522144a76cc92b878a8c4f968b12 to your computer and use it in GitHub Desktop.
Example code to init caddy for systemd
cp caddy_static_site.service /etc/systemd/system/caddy_static_site.service
systemctl daemon-reload
systemctl enable caddy_static_site.service
systemctl start caddy_static_site.service
sudo systemctl status caddy_static_site.service # get status of the service - should be active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment