[Unit] Description=nginx-green After=nginx-green.service [Service] Type=forking User=root Group=root ExecStart=/opt/nginx-green/nginx-green/run.sh ExecReload=/opt/nginx-green/nginx-green/restart.sh ExecStop=/opt/nginx-green/nginx-green/stop.sh PrivateTmp=true [Install] WantedBy=multi-user.target