add information on how to create a headscale user

This commit is contained in:
Moritz Poldrack 2022-04-16 23:56:57 +02:00 committed by GitHub
parent be2487f4c0
commit 41a8c14acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,8 @@ mkdir -p /etc/headscale
# Directory for Database, and other variable data (like certificates) # Directory for Database, and other variable data (like certificates)
mkdir -p /var/lib/headscale mkdir -p /var/lib/headscale
# or if you create a headscale user:
useradd -md /var/lib/headscale/ -rUs /usr/bin/nologin headscale
``` ```
4. Create an empty SQLite database: 4. Create an empty SQLite database: