From 6f3ba344c1f8413a463dc6274f24ef00bf47e534 Mon Sep 17 00:00:00 2001 From: Alexander Hunt Date: Sun, 21 Jun 2026 17:11:32 -0700 Subject: Adding option to bind via unix socket --- conf.d/penguins | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 conf.d/penguins (limited to 'conf.d/penguins') diff --git a/conf.d/penguins b/conf.d/penguins new file mode 100644 index 0000000..b6c95e2 --- /dev/null +++ b/conf.d/penguins @@ -0,0 +1,16 @@ +# Configuration for the penguins.lan OpenRC service (/etc/init.d/penguins). + +# User/group the daemon runs as. +penguins_user="penguins" +penguins_group="penguins" + +# Deploy tree. Must contain the binary plus .env, db/, templates/ and static/. +penguins_dir="/opt/penguins.lan" + +# Path to the compiled binary (defaults to ${penguins_dir}/penguins). +#penguins_bin="/opt/penguins.lan/penguins" + +# Subcommand flags. Add e.g. -dns-port 53 to serve real DNS, or -port 80 for +# HTTP on the privileged port (both rely on cap_net_bind_service). To sit behind +# a reverse proxy, swap the TCP port for a unix socket: -socket /run/penguins.sock +penguins_flags="-server -scheduler -dns -dns-port 53 -port 9000 -migrate" -- cgit v1.3