diff --git a/utils/signup-script-template b/utils/signup-script-template index 5e06ffb..83c4036 100644 --- a/utils/signup-script-template +++ b/utils/signup-script-template @@ -15,8 +15,7 @@ echo "{{sshkey}}" > /home/{{username}}/.ssh/authorized_keys chmod 700 /home/{{username}}/.ssh chmod 600 /home/{{username}}/.ssh/authorized_keys chown -R {{username}}:{{username}} /home/{{username}}/.ssh -sed -i 's/REPLACEME/{{username}}/g' /home/{{username}}/{meta-info.env,Caddyfile} -# sed -i 's/EMAIL=/EMAIL={{email}}/' /home/{{username}}/meta-info.env +sed -i 's/REPLACEME/{{username}}/g' /home/{{username}}/{meta-info.toml,Caddyfile} loginctl enable-linger {{username}} setquota -u {{username}} 20G 20G 0 0 / a=$(curl -X POST "https://auth.p.projectsegfau.lt/api/v3/core/users/" -H "accept: application/json" -H "content-type: application/json" -H "Authorization: Bearer $(