diff options
author | Marri Devender Rao <devenrao@in.ibm.com> | 2018-09-03 14:00:39 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-28 05:00:53 +0300 |
commit | c8267c3a9c09abf38cad806c5690d19346735eac (patch) | |
tree | 44188d671f91852db2b2cc0b35fdf480cbddcd34 /meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-cert-config.bb | |
parent | 00975f5e57f183c0fdd4ff1d39b8a96859484c9b (diff) | |
download | openbmc-c8267c3a9c09abf38cad806c5690d19346735eac.tar.xz |
phosphor-certificate-manager: Add recipe and certificate service
Add recipe and service files to start/stop nginx and nslcd services
To start/stop nginx service use
systemctl stop phosphor-certificate-manager@nginx.service
systemctl start phosphor-certificate-manager@nginx.service
To start/stop nslcd service use
systemctl stop phosphor-certificate-manager@nslcd.service
systemctl start phosphor-certificate-manager@nslcd.service
(From meta-phosphor rev: 08b55912f01f7a2b53ccc11fb8e508c9c8bc8a14)
Change-Id: Ie55613f8da061f9f948d645086db12be8239beea
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-cert-config.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-cert-config.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-cert-config.bb b/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-cert-config.bb new file mode 100644 index 000000000..d6f579953 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/certificate/phosphor-nslcd-cert-config.bb @@ -0,0 +1,15 @@ +SUMMARY = "Phosphor certificate manager configuration for an nslcd certificate" + +PR = "r1" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/LICENSE;md5=784eea0404d452a8b0d1966b14c37b5c" + +RRECOMMENDS_${PN} = "phosphor-certificate-manager" + +inherit allarch +inherit obmc-phosphor-systemd + +SYSTEMD_SERVICE_${PN} = "" +SYSTEMD_ENVIRONMENT_FILE_${PN} = "obmc/cert/nslcd" +SYSTEMD_LINK_${PN} = "../phosphor-certificate-manager@.service:${SYSTEMD_DEFAULT_TARGET}.wants/phosphor-certificate-manager@nslcd.service" |