aboutsummarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorJoseph Quinn2015-07-23 11:10:14 -0400
committerJoseph Quinn2015-07-23 11:10:14 -0400
commit5500270952f147add360940b754a58828badb285 (patch)
tree21474cffa0b27576bdd46e2ca9d922eac5b67935 /service
downloadaur-5500270952f147add360940b754a58828badb285.tar.gz
initial commit
Diffstat (limited to 'service')
-rw-r--r--service17
1 files changed, 17 insertions, 0 deletions
diff --git a/service b/service
new file mode 100644
index 000000000000..2d260a1f44b7
--- /dev/null
+++ b/service
@@ -0,0 +1,17 @@
+[Unit]
+Description=A high performance web server and a reverse proxy server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/nginx.pid
+PrivateDevices=yes
+SyslogLevel=err
+
+ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; error_log stderr;'
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillSignal=SIGQUIT
+KillMode=mixed
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file