mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-11-14 05:09:27 +00:00
* Rebase patches to Buildroot 2021.02-rc3 * Update Buildroot to 2021.02-rc3 * Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
18 lines
492 B
Desktop File
18 lines
492 B
Desktop File
[Unit]
|
|
Description=A high performance web server and a reverse proxy server
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
LogsDirectory=nginx
|
|
CacheDirectory=nginx
|
|
PIDFile=/run/nginx.pid
|
|
ExecStartPre=/usr/sbin/nginx -t -q -g 'daemon on; master_process on;'
|
|
ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on;'
|
|
ExecReload=/usr/sbin/nginx -g 'daemon on; master_process on;' -s reload
|
|
ExecStop=/usr/sbin/nginx -s quit
|
|
PrivateDevices=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|