diff --git a/Caddy-as-a-service-examples.md b/Caddy-as-a-service-examples.md index 3f043f6..7c00459 100644 --- a/Caddy-as-a-service-examples.md +++ b/Caddy-as-a-service-examples.md @@ -12,9 +12,9 @@ Example for an init script on FreeBSD: https://gist.github.com/dprandzioch/f3a0b ### Windows You can use [nssm.cc](https://nssm.cc/) in order to automaticaly launch, and restart if crashed Caddy. -First download both NSSM and Caddy then extract them to c:\myserver\ -Then install Caddy as a service by entering the following commands in your Terminal: -`c:\myserver\nssm.exe install Caddy c:\myserver\caddy.exe` + +1. First download both NSSM and Caddy then extract them to c:\myserver\ +2. Then install Caddy as a service by entering the following commands in your Terminal: + +`c:\myserver\nssm.exe install Caddy c:\myserver\caddy.exe` `c:\myserver\nssm.exe set Caddy AppDirectory C:\myserver\` - -