In ubuntustudio, why is there a sleep infinity process?

There's a service called user/session-monitor.service whose execstart is /bin/sleep infinity. What is this used for? sleep is used by bash scipts to slow processes in a while loop, giving a chance to the user to kill the process. But with this sleep infinity, a pkill -9 sleep will match. Also killing this process, for some reason, kills the current X session.

What is this service unit supposed to be doing?

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like