folder fix
This commit is contained in:
parent
77d362211d
commit
382219e6fe
1 changed files with 1 additions and 2 deletions
|
@ -89,9 +89,7 @@
|
|||
after = [ "network.target" ];
|
||||
|
||||
preStart = ''
|
||||
mkdir -p /var/lib/u
|
||||
mkdir -p /var/lib/u/files
|
||||
chown -R ${cfg.user}:${cfg.group} /var/lib/u
|
||||
|
||||
cat > /var/lib/u/.env <<EOF
|
||||
DATABASE_URL="sqlite:/var/lib/u/u.db"
|
||||
|
@ -118,6 +116,7 @@
|
|||
users = mkIf (cfg.user == "u") {
|
||||
u = {
|
||||
home = "/var/lib/u";
|
||||
createHome = true;
|
||||
group = cfg.group;
|
||||
isSystemUser = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue