diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-06-22 14:41:29 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-06-22 14:41:29 +0000 |
| commit | 843c2228b0658f57c76e4e9d7381a3c3ef586c73 (patch) | |
| tree | d62558bf1f686b33fe066e695851ef7b82bdbd5b /headscale/postinstall | |
| parent | ee24709fa36ae4352657a29faa9a299d7d199cab (diff) | |
| download | alicelinux-843c2228b0658f57c76e4e9d7381a3c3ef586c73.tar.gz alicelinux-843c2228b0658f57c76e4e9d7381a3c3ef586c73.zip | |
Woodpecker CI deb0853528349e0b0d2fc0636dcfeb044e73b35b [SKIP CI]
Diffstat (limited to 'headscale/postinstall')
| -rw-r--r-- | headscale/postinstall | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/headscale/postinstall b/headscale/postinstall new file mode 100644 index 00000000..fa08bdc8 --- /dev/null +++ b/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 |