Changes of Revision 30
[-] [+] | Changed | nginx-1.2.spec |
[-] [+] | Added | nginx.service ^ |
@@ -0,0 +1,14 @@ +[Unit] +Description=The nginx HTTP and reverse proxy server +After=syslog.target network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +PIDFile=/run/nginx.pid +ExecStartPre=/usr/sbin/nginx -t +ExecStart=/usr/sbin/nginx +ExecReload=/bin/kill -s HUP $MAINPID +ExecStop=/bin/kill -s QUIT $MAINPID + +[Install] +WantedBy=multi-user.target |