This page is about Caddy 1 and will go away soon because Caddy 2 is now available. Click here for Caddy 2.

User Guide

hook.service
Plugin

Always wanted to run Caddy as a service? Here's what you've been waiting for. This plugin was coded by me and Henrique Dias, who is the main contributor for File Manager. Notes: Notice that if you install the service with a name that is not the default's, you will need to specify it everytime you use one of the other commands using the flag -name.

Full documentation

Examples

Install service
caddy -service install [-name optionalName]
Uninstall service
caddy -service uninstall [-name optionalName]
Start service
caddy -service start [-name optionalName]
Stop service
caddy -service stop [-name optionalName]
Restart service
caddy -service restart [-name optionalName]
Related Links
Documentation

Access the full documentation for this plugin off-site:

Docs
Plugin Help

Get help from the maintainers of the hook.service plugin:

Support
Plugin Website

Visit hook.service's website for more information:

Website
Plugin Author: Henrique Dias
Last Updated: 21 Feb 2018, 5:04 PM
This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy's bug tracker.