diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3dfc62e..ef99629 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 @@ -22,6 +28,7 @@ apps: - network-bind - network-observe - home + - etc-redis-redis-conf cli: command: usr/bin/redis-cli plugs: @@ -29,6 +36,7 @@ apps: - network-bind - network-observe - home + - etc-redis-redis-conf benchmark: command: usr/bin/redis-benchmark plugs: @@ -36,6 +44,7 @@ apps: - network-bind - network-observe - home + - etc-redis-redis-conf check-aof: command: usr/bin/redis-check-aof plugs: @@ -43,6 +52,7 @@ apps: - network-bind - network-observe - home + - etc-redis-redis-conf check-rdb: command: usr/bin/redis-check-rdb plugs: @@ -50,6 +60,7 @@ apps: - network-bind - network-observe - home + - etc-redis-redis-conf sentinel: command: usr/bin/redis-sentinel plugs: @@ -57,6 +68,7 @@ apps: - network-bind - network-observe - home + - etc-redis-redis-conf parts: redis: