Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
base: core20

plugs:
etc-redis-redis-conf:
interface: system-files
read:
- /etc/redis/redis.conf

apps:
server:
command: usr/bin/redis-server
Expand All @@ -22,41 +28,47 @@ apps:
- network-bind
- network-observe
- home
- etc-redis-redis-conf
cli:
command: usr/bin/redis-cli
plugs:
- network
- network-bind
- network-observe
- home
- etc-redis-redis-conf
benchmark:
command: usr/bin/redis-benchmark
plugs:
- network
- network-bind
- network-observe
- home
- etc-redis-redis-conf
check-aof:
command: usr/bin/redis-check-aof
plugs:
- network
- network-bind
- network-observe
- home
- etc-redis-redis-conf
check-rdb:
command: usr/bin/redis-check-rdb
plugs:
- network
- network-bind
- network-observe
- home
- etc-redis-redis-conf
sentinel:
command: usr/bin/redis-sentinel
plugs:
- network
- network-bind
- network-observe
- home
- etc-redis-redis-conf

parts:
redis:
Expand Down