diff options
Diffstat (limited to 'community/caddy/caddy.initd')
-rw-r--r-- | community/caddy/caddy.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/caddy/caddy.initd b/community/caddy/caddy.initd new file mode 100644 index 0000000000..4dae7edfa9 --- /dev/null +++ b/community/caddy/caddy.initd @@ -0,0 +1,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 +} |