Loading sucsam.py +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ def deleteUser(peopleList): subprocess.call(['sudo', 'mv', "-f", mboxdir+username, persondir+"/mbox"]) # if they have a apcahe vhost kill it if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf") if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf"): subprocess.call(['sudo', 'a2dissite', username + ".conf"]) subprocess.call(['sudo', 'systemctl', "reload", "apache2.service"]) Loading Loading
sucsam.py +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ def deleteUser(peopleList): subprocess.call(['sudo', 'mv', "-f", mboxdir+username, persondir+"/mbox"]) # if they have a apcahe vhost kill it if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf") if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf"): subprocess.call(['sudo', 'a2dissite', username + ".conf"]) subprocess.call(['sudo', 'systemctl', "reload", "apache2.service"]) Loading