[Nix-dev] Find out which package is the current being used

4levels 4levels at gmail.com
Wed Apr 8 16:17:31 CEST 2015


Hi Nix-Devs,

my friend Nathan just pointed me in the right direction:
systemctl status nginx shows me the current config file in use!

Kind regards,

Erik

On Wed, Apr 8, 2015 at 4:14 PM 4levels <4levels at gmail.com> wrote:

> Hi Nix-Devs,
>
> I'm struggling with the following: I'm deploying an nginx webserver with
> custom configuration file.  The issue I'm having is that I don't know which
> package in /nix/store is currently being used.
>
> At the moment I have 4 different nginx.conf files in /nix/store.. the
> timestamps are all the same: Jan  1  1970  I need to verify the contents of
> the configuration filem, hence my request..
>
> Can you point me in the right direction?
> Kind regards,
>
> Erik Van Kelst
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150408/72e695c5/attachment.html 


More information about the nix-dev mailing list