diff --git a/pages/signup.go b/pages/signup.go index 9aa0186..233ed21 100644 --- a/pages/signup.go +++ b/pages/signup.go @@ -43,7 +43,7 @@ func SignupPage(c *fiber.Ctx) error { "echo \"${pass}\" > /home/" + username + "/pass\n" + "chmod 600 /home/" + username + "/pass\n" + "chown " + username + ":" + username + " /home/" + username + "/pass\n" + - "sed s/REPLACEME/" + username + "/g /home/" + username + "/{meta-info.env,Caddyfile}\n" + + "sed -i s/REPLACEME/" + username + "/g /home/" + username + "/{meta-info.env,Caddyfile}\n" + "loginctl enable-linger " + username + "\n" + "setquota -u " + username + " 20G 20G 0 0 /\n" + "echo \"" + username + "'s account has been created!\"\n" +