[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: Question about pidfiles
From:       "Jules Bean" <jmlb2 () hermes ! cam ! ac ! uk>
Date:       1998-12-04 15:30:53
[Download RAW message or body]

--On Thu, Dec 3, 1998 9:49 pm +0000 "Tom Lees" <tom@lpsg.demon.co.uk> wrote:


> I am currently packaging imwheel. However, there is a problem.
> imwheel wants to create a pidfile when it is run. However, this
> is fundamentally against the way X works - it means only ONE
> instance of imwheel can be run on one machine at a time (as
> opposed to one per X display, which would be the correct thing
> to do).
> 
> What cna I effectively do about this (or should I email the
> author and ask its behaviour be changed)?

I would patch the program so that the pid file has the name

imwheel_display:0.0.pid

Where 'display:0.0' is the contents of the DISPLAY environment variable.

Then forward the patches upstream :-)

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd        |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  Debian GNU/Linux - "Microsoft *does* have a year 2000 problem -     |
|                      and we're it!" (paraphrased from IRC)           |
\----------------------------------------------------------------------/



-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic