mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
nginx: handle systemd service file
Inherit the systemd class so the service file is properly handled. Note that by default, the service file will be installed but not enabled. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
2c21e3b27a
commit
1d1a43bb06
@@ -20,7 +20,9 @@ SRC_URI = " \
|
||||
file://nginx.service \
|
||||
"
|
||||
|
||||
inherit update-rc.d useradd
|
||||
inherit update-rc.d useradd systemd
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "nginx.service"
|
||||
|
||||
CFLAGS_append = " -fPIE -pie"
|
||||
CXXFLAGS_append = " -fPIE -pie"
|
||||
|
||||
Reference in New Issue
Block a user