changing the "shared" symlink into "www"

master
manetta 10 months ago
parent aa31c643a7
commit a92eb00da1

@ -59,7 +59,7 @@ for username in usernames:
if args.addusers: if args.addusers:
os.system(f"sudo systemctl enable jupyterlab@{username}") os.system(f"sudo systemctl enable jupyterlab@{username}")
os.system(f"sudo systemctl start jupyterlab@{username}") os.system(f"sudo systemctl start jupyterlab@{username}")
os.system(f"sudo ln -s /var/www /home/{username}/shared") os.system(f"sudo ln -s /var/www /home/{username}/www")
os.system(f"sudo adduser {username} users") os.system(f"sudo adduser {username} users")
nginx = template_env.get_template("users.nginx.conf") nginx = template_env.get_template("users.nginx.conf")

Loading…
Cancel
Save