nginx-green.service 303 B

123456789101112131415
  1. [Unit]
  2. Description=nginx-green
  3. After=nginx-green.service
  4. [Service]
  5. Type=forking
  6. User=root
  7. Group=root
  8. ExecStart=/opt/nginx-green/nginx-green/run.sh
  9. ExecReload=/opt/nginx-green/nginx-green/restart.sh
  10. ExecStop=/opt/nginx-green/nginx-green/stop.sh
  11. PrivateTmp=true
  12. [Install]
  13. WantedBy=multi-user.target