提交 7e840afe 编写于 作者: sangshuduo's avatar sangshuduo

fix var/log/taos permission issue.

上级 4723e21a
......@@ -6,6 +6,8 @@ fi
if [ ! -d /var/log/taos ]; then
mkdir -p --mode=777 /var/log/taos
else
chmod 777 /var/log/taos
fi
if [ ! -d /etc/taos ]; then
......
......@@ -46,6 +46,7 @@ plugs:
read:
- /etc/taos
- /var/lib/taos
- /var/log/taos
- /tmp
write:
- /var/log/taos
......@@ -112,11 +113,11 @@ layout:
bind: $SNAP_DATA/var/lib/taos
/var/log/taos:
bind: $SNAP_DATA/var/log/taos
mode: 1777
/etc/taos:
bind: $SNAP_DATA/etc/taos
hooks:
install:
plugs: [systemfiles]
plugs: [systemfiles, historyfile]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册