summarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorHaruue Icymoon2017-12-07 16:06:42 +0800
committerHaruue Icymoon2017-12-07 16:08:25 +0800
commit326f2bb2189a778d5017cf270af25124a7d07b09 (patch)
tree345e83495c10e2ce4e24a2fde48b0b4a2b612161 /service
downloadaur-326f2bb2189a778d5017cf270af25124a7d07b09.tar.gz
init: nginx-mainline-openssl-weak
Signed-off-by: Haruue Icymoon <haruue@caoyue.com.cn>
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..365bc9568e0c
--- /dev/null
+++ b/service
@@ -0,0 +1,17 @@
+[Unit]
+Description=A high performance web server and a reverse proxy server
+After=network.target network-online.target nss-lookup.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/nginx -s reload
+KillSignal=SIGQUIT
+KillMode=mixed
+
+[Install]
+WantedBy=multi-user.target