Skip to content

Allow to read /etc/redis/redis.conf #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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