## page was copied from DnsTemplate ##master-page:HelpTemplate <> <> nginxのサービス化 https://gakumon.tech/nginx/nginx_install_basic_ubuntu_4.html#google_vignette https://www.nginx.com/resources/wiki/start/topics/examples/systemd/ {{{ You'll need to add NGINX systemd service file in /lib/systemd/system/nginx.service. }}} == history == [[/conoha]] /usr/sbin/nginx {{{ [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/local/sbin/nginx -t ExecStart=/usr/local/sbin/nginx ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s QUIT $MAINPID PrivateTmp=true [Install] WantedBy=multi-user.target }}} ---- CategoryDns CategoryWatch CategoryTemplate