[Nix-dev] Systemd: reloading configuration

2013-05-18 Thread Domen Kožar
Hi all, I'm wondering how systemd should handle reloading of configuration instead of restarting the whole process. I have thought the following: If systemd service defines serviceConfig.ExecReload, then that command should be used when restartTriggers are triggered instread of a restart. Maybe

Re: [Nix-dev] Systemd: reloading configuration

2013-05-18 Thread Domen Kožar
There is a systemd command: reload-or-try-restart On Sat, May 18, 2013 at 10:19 AM, Domen Kožar do...@dev.si wrote: Hi all, I'm wondering how systemd should handle reloading of configuration instead of restarting the whole process. I have thought the following: If systemd service defines

[Nix-dev] $out in configureFlags is not expanded

2013-05-18 Thread Bjørn Forsman
Hi, I noticed today that $out in configureFlags is not expanded. So this will not do what you'd think: configureFlags = --foo=$out/etc/foo.cfg; Instead, it will pass --foo=$out/etc/foo.cfg (literally) to configure. (And if using ${out}, nix will complain about undefined variable 'out'.)