Added server goodies

This commit is contained in:
Felipe M 2016-12-19 14:44:02 +01:00
parent 002f3dd67f
commit 993160a64a
4 changed files with 89 additions and 0 deletions

15
server/nginx.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=The NGINX HTTP and reverse proxy server
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t
ExecStart=/usr/sbin/nginx
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target