Commit 1f686814 authored by Leo's avatar Leo
Browse files

community/caddy: set CADDYPATH to default to /etc/caddy

parent 8230b2bd
Pipeline #7761 passed with stages
in 1 minute and 41 seconds
......@@ -2,7 +2,7 @@
# Maintainer: Chloe Kudryavtsev <toast@toastin.space>
pkgname=caddy
pkgver=1.0.4
pkgrel=0
pkgrel=1
pkgdesc="Fast, cross-platform HTTP/2 web server with automatic HTTPS"
url="https://caddyserver.com/"
arch="all !s390x"
......@@ -19,7 +19,7 @@ subpackages="$pkgname-openrc"
install="$pkgname.pre-install"
pkgusers="$pkgname"
pkggroups="$pkgname"
source="$pkgname-$pkgver.tar.gz::https://github.com/caddyserver/$pkgname/archive/v$pkgver.tar.gz
source="$pkgname-$pkgver.tar.gz::https://github.com/caddyserver/caddy/archive/v$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
$pkgname.conf
......@@ -72,6 +72,6 @@ cleanup_srcdir() {
}
sha512sums="49dae9c0965000ba1cf36a6148ff78718383a511d671fb73edc3b08e4219db0a9902fc70e40bcbb13ffa7afaa520fd1e6303ea3776059de04085896c018d9c02 caddy-1.0.4.tar.gz
191b57cee5ebf8cad87bfaefdafc55008ae947f366f7288c4ae712bd026899ed8014949ae3f2860d2e6dc85781ca95b0e7c5fb2c02e67b9b4619abfe87bda55e caddy.initd
7808688e92ab9950403a9b8ad29777f5bd0f75aa8cccc1d49958bb1e5af1b972dfba0c6d31931354f702a3a13933d0a1b8f28b82eed263773d71b79ec95cc15c caddy.confd
93bf9ca594be328491a5c1e9d47a4f892b5394630a7a488b167b133f260220cc5865b5896f8481bb17e6c33fcbcd54614306141a52100208b73a07b232c47bfa caddy.initd
987f8de92997555efb92feac19f82c319ec00c8c75c8ed9f44368a55ab2cc276e47589192a4c8020c62d6c832c89efe3902c0cd6082b766b4380af984d2e72b5 caddy.confd
c24805d17234e6cf40fe1dd102c03f05cf6129d43f58f5567d540a0e4400ce89994820bb0e317f611c65459ae26bcf7110e23a8fecaae11ca78a561892b45d75 caddy.conf"
# caddy options file
CADDY_OPTS="-conf /etc/caddy/caddy.conf -agree"
# CADDYPATH=/etc/caddy
......@@ -9,6 +9,8 @@ command_user=caddy:caddy
extra_commands="checkconfig"
extra_started_commands="reload"
: {CADDYPATH:=/etc/caddy}
depend() {
need net localmount
after firewall
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment