diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2023-12-18 13:46:51 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-18 22:17:26 -0800 |
commit | 7e7f670f4b38d07985e24980044cd26cd346cc76 (patch) | |
tree | 887ade791adcbadc174e6a19d9d481165d7784bc /meta-oe/recipes-extended/redis/redis-7.2.3/redis.service | |
parent | fb7023bd3c2038fc61f40d3ed95c96a74cef2368 (diff) | |
download | meta-openembedded-contrib-7e7f670f4b38d07985e24980044cd26cd346cc76.tar.gz |
redis: Create state directory in systemd service
Configures the systemd service file for redis to create the required
state directory before redis starts.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7.2.3/redis.service')
-rw-r--r-- | meta-oe/recipes-extended/redis/redis-7.2.3/redis.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.3/redis.service b/meta-oe/recipes-extended/redis/redis-7.2.3/redis.service index a52204cc701..b7791d0df44 100644 --- a/meta-oe/recipes-extended/redis/redis-7.2.3/redis.service +++ b/meta-oe/recipes-extended/redis/redis-7.2.3/redis.service @@ -10,6 +10,7 @@ ExecStop=/usr/bin/redis-cli shutdown Restart=always LimitNOFILE=10032 Type=notify +StateDirectory=redis [Install] WantedBy=multi-user.target |