Hello list,
Some of my machines run BOINC, which I want to stop while doing my sync &
update. For some reason, '/etc/init.d/boinc stop' often takes exactly 60s to
complete instead of its normal 6-10s.
I'd like my update script to detect this condition, but I can't see how. I've
tried grepping /bin/ps output, and I've tried checking for existence of a
BOINC pid file, but those both tell me that BOINC is "running" while it's in
the process of shutting down.
Is there somewhere in /proc where this shutting-down status is held?
--
Regards,
Peter.
Some of my machines run BOINC, which I want to stop while doing my sync &
update. For some reason, '/etc/init.d/boinc stop' often takes exactly 60s to
complete instead of its normal 6-10s.
I'd like my update script to detect this condition, but I can't see how. I've
tried grepping /bin/ps output, and I've tried checking for existence of a
BOINC pid file, but those both tell me that BOINC is "running" while it's in
the process of shutting down.
Is there somewhere in /proc where this shutting-down status is held?
--
Regards,
Peter.