aboutsummaryrefslogtreecommitdiffstats
path: root/community/caddy/caddy.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-03-24 14:40:56 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-03-24 14:41:08 +0100
commita63f5879b8bbe18ba7d317c79d8bc2d015f73297 (patch)
tree7a05f23ce02b7d9e2962dd021aa152c4d517f8b8 /community/caddy/caddy.initd
parentc749890cee25c59d44c799c76790acb5ef60c974 (diff)
downloadaports-a63f5879b8bbe18ba7d317c79d8bc2d015f73297.tar.gz
aports-a63f5879b8bbe18ba7d317c79d8bc2d015f73297.tar.bz2
aports-a63f5879b8bbe18ba7d317c79d8bc2d015f73297.tar.xz
community/caddy: add ca-certificates to deps and move to community
Diffstat (limited to 'community/caddy/caddy.initd')
-rw-r--r--community/caddy/caddy.initd13
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
+}