From deb0853528349e0b0d2fc0636dcfeb044e73b35b Mon Sep 17 00:00:00 2001 From: emmett1 Date: Mon, 22 Jun 2026 22:15:11 +0800 Subject: headscale: new added --- repos/extra/headscale/postinstall | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 repos/extra/headscale/postinstall (limited to 'repos/extra/headscale/postinstall') diff --git a/repos/extra/headscale/postinstall b/repos/extra/headscale/postinstall new file mode 100644 index 00000000..fa08bdc8 --- /dev/null +++ b/repos/extra/headscale/postinstall @@ -0,0 +1,8 @@ +#!/bin/sh + +addgroup -S headscale 2>/dev/null +adduser -S -D -H -h /var/lib/headscale -s /sbin/nologin -g headscale -G headscale headscale 2>/dev/null + +chmod 750 /var/lib/headscale +chown headscale:headscale /var/lib/headscale +chown headscale:headscale /etc/headscale -- cgit v1.2.3