[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: localstatedir
From: |
Baurzhan Ismagulov |
Subject: |
Re: localstatedir |
Date: |
Sat, 22 Apr 2006 09:16:43 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Hello Ralf,
On Sat, Apr 22, 2006 at 05:28:29AM +0200, Ralf Corsepius wrote:
> > in my package, I configure --localstatedir=/var and store a file as
> > LOCALSTATEDIR "/lib/" PACKAGE "/file.dat". Besides, I use LOCALSTATEDIR
> > "/run/" PACKAGE ".pid". Is this how it was intended to use,
> In short: Yes.
>
> > or should I
> > configure --localstatedir=/var/lib/package and use LOCALSTATEDIR
> > "/file.dat", and use something else for package.pid? file.dat is the
> > application state data read on the next startup.
> That's a different issue. localstatedir is the root directory, which
> directories and how to derive them from localstatdir is beyond
> autoconf's scope.
Great! Is the same true about /etc? I'm currently configuring
--sysconfdir=/etc and storing the config into SYSCONFDIR "/" PACKAGE
"/file.conf", whereas I've seen packages in Debian configuring
--sysconfdir=/etc/package and using SYSCONFDIR "/file.conf" in the code.
Thanks in advance,
Baurzhan.