package/redis: add optional support for systemd
authorTitouan Christophe <titouan.christophe@railnova.eu>
Tue, 2 Jun 2020 10:40:11 +0000 (12:40 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 5 Jun 2020 22:28:46 +0000 (00:28 +0200)
commitac3ab472e0ddfac7ccebd3c232aa1a5355fcfebb
tree9eae5232ea29b1b2122c1e918d39596da8f95bd7
parentee3c81341807631b176ba4e05e6e473485bc6d7e
package/redis: add optional support for systemd

- Use the unit type=notify (Redis contacts systemd when ready)
- Start redis with the supervised option, so it knows it should
  talk to systemd
- USE_SYSTEMD is not documented, but it is used in the src/Makefile

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
[yann.morin.1998@free.fr: add and explain USE_SYSTEMD]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/redis/redis.mk
package/redis/redis.service