nginx: handle systemd service file
PATCH v2 1/1 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 <[email protected]>
---
Changes in v2:
- let nginx be started automatically by default
meta-webserver/recipes-httpd/nginx/nginx.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-webserver/recipes-httpd/nginx/nginx.inc +3 -1
@@ -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"
Signature · 1 line
2.11.0