forgot the newline
This commit is contained in:
parent
772b1aeed4
commit
14a6965be5
@ -46,7 +46,7 @@ func SignupPage(c *fiber.Ctx) error {
|
|||||||
"sed s/REPLACEME/" + username + "/g /home/" + username + "/{meta-info.env,Caddyfile}\n" +
|
"sed s/REPLACEME/" + username + "/g /home/" + username + "/{meta-info.env,Caddyfile}\n" +
|
||||||
"loginctl enable-linger " + username + "\n" +
|
"loginctl enable-linger " + username + "\n" +
|
||||||
"setquota -u " + username + " 20G 20G 0 0 /\n" +
|
"setquota -u " + username + " 20G 20G 0 0 /\n" +
|
||||||
"echo \"" + username + "'s account has been created!\"" +
|
"echo \"" + username + "'s account has been created!\"\n" +
|
||||||
"rm -rf $0"
|
"rm -rf $0"
|
||||||
|
|
||||||
chmoderr := os.Chmod("/var/publapi/users/"+username+".sh", 0700)
|
chmoderr := os.Chmod("/var/publapi/users/"+username+".sh", 0700)
|
||||||
|
Loading…
Reference in New Issue
Block a user