monitorqosa.blogg.se

Calibre server as windows service
Calibre server as windows service






To start Caddy, choose Application > Start "Caddy". It is not yet running though and the state will be Stopped. In a couple of seconds, an application called Caddy (or whatever you called it) will show up in the AlwaysUp window. We're now done configuring AlwaysUp, so click the Save button. This informs AlwaysUp that Caddy needs the regular TCP/IP networking stack to operate. More time means less frequent checks and less load on the server, but the sensitivity to failures is reduced.Ĭlick over to the Startup tab and check the Ensure that the Windows Networking components have started box.

calibre server as windows service

We have called ours check-web-server.bat and placed it in the AlwaysUp folder, C:\Program Files (x86)\AlwaysUp.Ĭlick the "." button in the Whenever it fails a "sanity check" section and specify the full path to the batch file.Ĭhange the Every controls to 5 minutes, or tune to any frequency that you see fit. We'll set up a failure detection batch file to tell AlwaysUp when the Web Server has failed.įollow these instructions to create the failure detection BAT file. If you are interested in monitoring Caddy and detecting when it stops serving pages,Ĭlick over to the Monitor tab. agree -log "C:\Caddy\caddy.log" -ca "C:\Caddy\certs" -root "C:\WWW\htdocs"īe sure to fully quote each file and folder name that contains a space!Īnd in the Name field, enter the name that you will call this application in AlwaysUp. In the Arguments field, enter all the parameters to the Caddy executable. Since we installed Caddy in C:\Caddy, we'll specify: In the Application field, enter the full path to the Caddy executable, caddy.exe. Select Application > Add to open the Add Application window: Here is the command line that worked for our simple situation:Ĭ:\Caddy\Caddy.exe -agree -log "C:\Caddy\caddy.log" -ca "C:\Caddy\certs" -root "C:\WWW\htdocs"

calibre server as windows service

Note that we expanded the zip file to C:\Caddy and that location is used throughout this tutorial. Note the command line you run to launch Caddy - we'll be using that with AlwaysUp. To install Caddy as a Windows Service with AlwaysUp:ĭownload and install AlwaysUp, if necessary. Caddy is a secure, easy-to-use web server written entirely in Go.








Calibre server as windows service