also sprach martin f krafft <madd...@debian.org> [2009.07.09.1221 +0200]:
> Any news on this bug report? With duplicity taking ages to encode
> (on slow processors), I just came back from a trip to find five
> instances competing for resources simultaneously. Not good.

My current solution is to use the following shell script as 98.sh,
before 99.dup gets run:

  # halt if duplicity is still running

  pid=$(pgrep duplicity)
  if [ -n "$pid" ]; then
    echo Halt: duplicity still running with PID $pid. >&2
    exit 1
  fi

Ugly, but works…

-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to