diff options
| author | Ed Tanous <ed@tanous.net> | 2019-06-06 18:45:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-06 18:45:55 +0300 |
| commit | 4aa406adc1accd959bf64d299d750e8b2083ace3 (patch) | |
| tree | 3254b912d6468012543e127a19ba2f1cd13b108f /meta-openembedded/meta-python/recipes-devtools/python/python-supervisor.inc | |
| parent | a479b661c952e9c0da8859d2e966748bd515690f (diff) | |
| parent | 87a65e63bac789bca0607e0b4ab09d62517b95e7 (diff) | |
| download | openbmc-4aa406adc1accd959bf64d299d750e8b2083ace3.tar.xz | |
Merge pull request #9 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-supervisor.inc')
| -rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python-supervisor.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-supervisor.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-supervisor.inc new file mode 100644 index 000000000..beab49739 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-supervisor.inc @@ -0,0 +1,30 @@ +SUMMARY = "Supervisor: A Process Control System" +DESCRIPTION = "\ +Supervisor is a client/server system that allows its users \ +to monitorand control a number of processes on UNIX-like \ +operating systems." +HOMEPAGE = "https://github.com/Supervisor/supervisor" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=5b4e3a2172bba4c47cded5885e7e507e" + +SRC_URI[md5sum] = "ac70dadd051dcaf1d03c467d51a3aac1" +SRC_URI[sha256sum] = "5604457da4fb89d850e78c128205fe4938c9277f87301885b33c94c60361e575" + +PYPI_PACKAGE = "supervisor" +inherit pypi systemd +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-meld3 \ +" + +SRC_URI += "file://supervisord.conf \ + file://supervisor.service \ + " +SYSTEMD_SERVICE_${PN} = "supervisor.service" + +do_install_append() { + install -d ${D}${sysconfdir}/supervisor + install -d ${D}${systemd_system_unitdir} + + install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor + install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir} +} |
