From 4723e21af420aa5a5e655c7c50c2b52359e0d4b0 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Wed, 2 Sep 2020 00:09:20 +0800 Subject: [PATCH] add historyfile plug to access .taos_history file. --- snap/snapcraft.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1d1a00e50e..3fe1e26759 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,13 +22,11 @@ apps: taos: command: taoswrapper.sh - environment: - HOME: /home/$USER plugs: - network - system-observe - systemfiles - - home + - historyfile taosdemo: command: usr/bin/taosdemo @@ -36,6 +34,13 @@ apps: - network plugs: + historyfile: + interface: personal-files + read: + - $HOME/.taos_history + write: + - $HOME/.taos_history + systemfiles: interface: system-files read: -- GitLab