[Nix-dev] nginx & systemd - not starting

Malcolm Matalka mmatalka at gmail.com
Sat Apr 13 16:02:06 CEST 2013


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/iqmmiai4rxq8b9wp161ll135kawb9bhp-unit/nginx.service)
          Active: inactive (dead) since Sat 2013-04-13 15:45:24 CEST;
          15min ago
         Process: 31028
         ExecStart=/nix/store/jp7q64dir51p6a2z3vfis76yxq0315gc-nginx-1.2.4/bin/nginx
         -c /nix/store/mbvjzv3ryz4rqvclbggn6fxq6k8z4hf7-nginx.conf -p
         /var/spool/nginx (code=exited, status=0/SUCCESS)
         Process: 31019
         ExecStartPre=/nix/store/k2ba2yj60az352kjfzii86p59vhsyv0y-unit-script/bin/nginx-pre-start
         (code=exited, status=0/SUCCESS)

I'm not sure what other information is useful in debugging this.

Thanks,
/Malcolm


More information about the nix-dev mailing list