Прошу прощения за то, что вставляю свои пять копеек, но у меня, почему-то, на Gentoo NgX вполне замечательно стартует на SystemD без ругани, на которую жалуется ОП:
``` ноя 24 12:12:24 note systemd[1]: Starting The nginx HTTP and reverse proxy server... ноя 24 12:12:25 note nginx[17684]: nginx: the configuration file /etc/nginx/ nginx.conf syntax is ok ноя 24 12:12:25 note nginx[17684]: nginx: configuration file /etc/nginx/ nginx.conf test is successful ноя 24 12:12:25 note systemd[1]: Started The nginx HTTP and reverse proxy server. ``` Код nginx.service при этом такой: ``` [Unit] Description=The nginx HTTP and reverse proxy server After=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 -HUP $MAINPID ExecStop=/bin/kill -QUIT $MAINPID [Install] WantedBy=multi-user.target ``` В связи с этим у меня возникает вопрос: а что я, собственно, делаю не так? _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru