mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Added windows service for Caddy with NSSM
parent
ed32fb301d
commit
a67fc54ab3
@ -8,3 +8,13 @@ For example: Ubuntu 16.04, Coreos 1029.0.0, Debian unstable sid (not 8.0), Fedor
|
||||
### FreeBSD rc.d
|
||||
|
||||
Example for an init script on FreeBSD: https://gist.github.com/dprandzioch/f3a0bc4ebde3efd5c2a4
|
||||
|
||||
### Windows
|
||||
|
||||
You can use [nssm.cc](https://nssm.cc/) in order to automaticaly lauch, 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`
|
||||
`c:\myserver\nssm.exe set Caddy AppDirectory C:\myserver\`
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user