aboutsummaryrefslogtreecommitdiffstats
path: root/community/caddy/caddy.initd
blob: 4dae7edfa91020a746fc0b00b7775437231cfb36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run

name="Caddy webserver"
command="/usr/sbin/caddy"
command_args="$CADDY_OPTS"
pidfile="/var/run/caddy.pid"
command_background=yes
start_stop_daemon_args="--user caddy --group caddy"

depend() {
	need net localmount
	after firewall
}