Re: [Nix-dev] nginx & systemd - not starting

2013-04-14 Thread Malcolm Matalka
Bombs away: https://github.com/NixOS/nixos/pull/141 Domen Kožar writes: > Agreed, let's do that. > > > On Sat, Apr 13, 2013 at 9:18 PM, Malcolm Matalka wrote: > >> What about changing: >> >> configFile = pkgs.writeText "nginx.conf" '' >> ${cfg.config} >> ''; >> >> To: >> >> configFil

Re: [Nix-dev] nginx & systemd - not starting

2013-04-13 Thread Malcolm Matalka
Great, I'll send a pull request tomorrow. Den 13 apr 2013 22:55 skrev "Domen Kožar" : > Agreed, let's do that. > > > On Sat, Apr 13, 2013 at 9:18 PM, Malcolm Matalka wrote: > >> What about changing: >> >> configFile = pkgs.writeText "nginx.conf" '' >> ${cfg.config} >> ''; >> >> To: >> >>

Re: [Nix-dev] nginx & systemd - not starting

2013-04-13 Thread Domen Kožar
Agreed, let's do that. On Sat, Apr 13, 2013 at 9:18 PM, Malcolm Matalka wrote: > What about changing: > > configFile = pkgs.writeText "nginx.conf" '' > ${cfg.config} > ''; > > To: > > configFile = pkgs.writeText "nginx.conf" '' > user nginx nginx; > daemon off; > ${cfg.con

Re: [Nix-dev] nginx & systemd - not starting

2013-04-13 Thread Malcolm Matalka
What about changing: configFile = pkgs.writeText "nginx.conf" '' ${cfg.config} ''; To: configFile = pkgs.writeText "nginx.conf" '' user nginx nginx; daemon off; ${cfg.config} ''; ? Domen Kožar writes: > Could you put that into nginx config example? Thanks! > > > On S

Re: [Nix-dev] nginx & systemd - not starting

2013-04-13 Thread Domen Kožar
Could you put that into nginx config example? Thanks! On Sat, Apr 13, 2013 at 7:06 PM, Malcolm Matalka wrote: > This was solved, it was a configuration issue on my nginx, you have to > turn demonizing off. > On Apr 13, 2013 4:02 PM, "Malcolm Matalka" wrote: > >> Hello, >> I'm trying to get Ng

Re: [Nix-dev] nginx & systemd - not starting

2013-04-13 Thread Malcolm Matalka
This was solved, it was a configuration issue on my nginx, you have to turn demonizing off. On Apr 13, 2013 4:02 PM, "Malcolm Matalka" wrote: > Hello, > I'm trying to get Nginx running, but systemd does not want to start it. > I can run the commands by hand, and those work, but not through syste

[Nix-dev] nginx & systemd - not starting

2013-04-13 Thread Malcolm Matalka
Hello, I'm trying to get Nginx running, but systemd does not want to start it. I can run the commands by hand, and those work, but not through systemd. Here is output: systemctl status nginx.service nginx.service - Nginx Web Server Loaded: loaded (/nix/store/iqmmiai4rxq8b9wp16