mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

the kill utility is located in /bin/kill -> use base_bindir instead of bindir Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 lines
376 B
Desktop File
16 lines
376 B
Desktop File
[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/nginx.pid
|
|
ExecStartPre=@SBINDIR@/nginx -t
|
|
ExecStart=@SBINDIR@/nginx
|
|
ExecReload=@SBINDIR@/nginx -s reload
|
|
ExecStop=@BASE_BINDIR@/kill -s QUIT $MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|