Created
May 11, 2017 10:31
-
-
Save svschannak/d7e49d6a500f9f417e0a5d368c43a396 to your computer and use it in GitHub Desktop.
Caddy Server with 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
[Unit] | |
Description=Caddy Server startup script for static website | |
[Service] | |
WorkingDirectory=/code/static-website/ | |
ExecStart=/usr/local/bin/caddy | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment