add historyfile plug to access .taos_history file.

This commit is contained in:
Shuduo Sang 2020-09-02 00:09:20 +08:00
parent 64b12891a1
commit 4723e21af4
1 changed files with 8 additions and 3 deletions

View File

@ -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: