mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-16 00:15:24 +08:00
TUN-528: Move cloudflared into a separate repo
This commit is contained in:
14
vendor/github.com/mholt/caddy/dist/init/linux-upstart/README.md
generated
vendored
Normal file
14
vendor/github.com/mholt/caddy/dist/init/linux-upstart/README.md
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Upstart conf for Caddy
|
||||
=====================
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Usage in this blogpost: [Running Caddy Server as a service with Upstart](https://denbeke.be/blog/servers/running-caddy-server-as-a-service/).
|
||||
Short recap:
|
||||
|
||||
* Download Caddy in `/usr/local/bin/caddy` and execute `sudo setcap cap_net_bind_service=+ep /usr/local/bin/caddy`.
|
||||
* Save the appropriate upstart config file in `/etc/init/caddy.conf`.
|
||||
* Ensure that the folder `/etc/caddy` exists and that the subfolder .caddy is owned by `www-data`.
|
||||
* Create a Caddyfile in `/etc/caddy/Caddyfile`.
|
||||
* Now you can use `sudo service caddy start|stop|restart`.
|
||||
Reference in New Issue
Block a user