Blame view

buildroot/buildroot-2016.08.1/package/nginx/nginx.service 617 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  [Unit]
  Description=A high performance web server and a reverse proxy server
  After=syslog.target network.target
  
  [Service]
  Type=forking
  PIDFile=/var/run/nginx.pid
  ExecStartPre=/usr/bin/mkdir -p /var/log/nginx /var/tmp/nginx
  ExecStartPre=/usr/sbin/nginx -t -q -g 'pid /var/run/nginx.pid; daemon on; master_process on;'
  ExecStart=/usr/sbin/nginx -g 'pid /var/run/nginx.pid; daemon on; master_process on;'
  ExecReload=/usr/sbin/nginx -g 'pid /var/run/nginx.pid; daemon on; master_process on;' -s reload
  ExecStop=/usr/sbin/nginx -g 'pid /var/run/nginx.pid;' -s quit
  PrivateDevices=yes
  
  [Install]
  WantedBy=multi-user.target