diff options
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7.2.6/redis.service')
-rw-r--r-- | meta-oe/recipes-extended/redis/redis-7.2.6/redis.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.6/redis.service b/meta-oe/recipes-extended/redis/redis-7.2.6/redis.service new file mode 100644 index 000000000..b7791d0df --- /dev/null +++ b/meta-oe/recipes-extended/redis/redis-7.2.6/redis.service | |||
@@ -0,0 +1,17 @@ | |||
1 | [Unit] | ||
2 | Description=Redis In-Memory Data Store | ||
3 | After=network.target | ||
4 | |||
5 | [Service] | ||
6 | User=redis | ||
7 | Group=redis | ||
8 | ExecStart=/usr/bin/redis-server /etc/redis/redis.conf | ||
9 | ExecStop=/usr/bin/redis-cli shutdown | ||
10 | Restart=always | ||
11 | LimitNOFILE=10032 | ||
12 | Type=notify | ||
13 | StateDirectory=redis | ||
14 | |||
15 | [Install] | ||
16 | WantedBy=multi-user.target | ||
17 | |||