diff options
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 |