Last active
May 11, 2017 10:37
-
-
Save svschannak/0713522144a76cc92b878a8c4f968b12 to your computer and use it in GitHub Desktop.
Example code to init caddy for systemd
This file contains hidden or 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
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