Martchus
836f9fb622
Further improvements to nginx-custom package: * Sync logrotate with regular package * Use sha256sums * Use versioned directories * Further cleanup
18 lines
454 B
Desktop File
18 lines
454 B
Desktop File
[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
|
|
|
|
ExecStartPre=/usr/bin/nginx -t -q -g 'pid /run/nginx.pid; error_log stderr;'
|
|
ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; error_log stderr;'
|
|
ExecReload=/usr/bin/nginx -s reload
|
|
KillMode=mixed
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|