[Unit]
Description=nginx server daemon
After=network.target

[Service]
Type=forking
PIDFile=/usr/local/nginx/logs/nginx9090.pid
ExecStart=/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx_9090.conf
ExecReload=/usr/local/nginx/sbin/nginx -s reload -c /usr/local/nginx/conf/nginx_9090.conf
ExecStop=/usr/local/nginx/sbin/nginx -s quit /usr/local/nginx/conf/nginx_9090.conf
PrivateTmp=true

[Install]
WantedBy=multi-user.target