aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/redis/redis_%.bbappend
blob: 499e2b26928476b88b1569d4bd78c06d1d03f42e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append = "file://redis.service"

inherit systemd

SYSTEMD_SERVICE_${PN} = "redis.service"

do_install_append () {
    install -d ${D}${systemd_unitdir}/system/
    install -m 0644 ${WORKDIR}/redis.service ${D}${systemd_unitdir}/system/
}