diff options
author | Tom Deckers <tom@ducbase.com> | 2019-01-23 20:30:27 +0100 |
---|---|---|
committer | Tom Deckers <tom@ducbase.com> | 2019-01-23 20:30:27 +0100 |
commit | 108dc7babec50e6a605eba628ad5ea5fd320cfb3 (patch) | |
tree | 075c5ae45eed079e581d1310ebfd849723c05e60 /snap | |
parent | 62debf21b4e22425caa4b71c0b423638dd6daf36 (diff) |
Allow use of configuration files when installed as snap.
Closes #1403
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9fcb8dda..22d78b13 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,6 +22,12 @@ apps: - network-observe - physical-memory-observe - upower-observe + - system-files + - home + +plugs: + system-files: + read: [ /etc/glances/glances.conf ] parts: glances: |