Commit b8474102 authored by Benjamin Baer's avatar Benjamin Baer
Browse files

userlogout now only stops tl-xinit, waits for 5 seconds, kills all task left of the user.

parent 0624886f
......@@ -36,7 +36,7 @@ class LogoutUser(managementagent.RabbitModule):
process = subprocess.Popen(['/usr/bin/pkill', '-u', username, ' tl-xinit'])
process.wait()
time.sleep(6)
time.sleep(5)
subprocess.Popen(['/usr/bin/pkill', '-u', username, '-KILL'])
if process.returncode != 0:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment