mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-08 02:34:49 -04:00
Add parameters on windows service setup
parent
1127a3b64d
commit
c9eb1f9a28
@ -17,4 +17,7 @@ You can use [nssm.cc](https://nssm.cc/) in order to automaticaly launch, and res
|
||||
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\`
|
||||
`c:\myserver\nssm.exe set Caddy AppDirectory C:\myserver\`
|
||||
`c:\myserver\nssm.exe set Caddy AppParameters -agree=true -log=C:\myserver\Caddylog.log`
|
||||
Or whatever parameters you need to pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user