0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/dist/init/linux-upstart
2016-03-31 14:36:44 +02:00
..
caddy.conf dist/init: caddy.conf for upstart 2016-03-31 14:36:44 +02:00
README.md dist/init: caddy.conf for upstart 2016-03-31 14:36:44 +02:00

Upstart conf for Caddy

Usage

Usage in this blogpost: Running Caddy Server as a service with Upstart. Short recap:

  • Download Caddy in /usr/bin/caddy and execute sudo setcap cap_net_bind_service=+ep /usr/bin/caddy.
  • Save the upstart config file in /etc/init/caddy.conf.
  • Create a Caddyfile in /etc/caddy/Caddyfile.
  • Now you can use sudo service caddy start|stop|restart.