We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1715c24 commit 4cd8a99Copy full SHA for 4cd8a99
1 file changed
README.md
@@ -176,6 +176,13 @@ docker run \
176
--dir=/var/lib/telegram-bot-api
177
```
178
179
+Grant the current user read/write/execute access to the data directory so the bot can delete processed files:
180
+
181
+```bash
182
+sudo setfacl -R -m u:$(whoami):rwx /var/lib/telegram-bot-api
183
+sudo setfacl -R -d -m u:$(whoami):rwx /var/lib/telegram-bot-api
184
+```
185
186
Run this container and set `USE_LOCAL_PTB` so that the bot uses the local
187
server.
188
0 commit comments