oxaliq
8d976bfe63
bunkdeck is now the repo for nice tools on top of bunkchat includes `bunkdeck` for scripting terminal multiplexing and `delete.sh` to add to crontab for periodic flushing of chatlog tested: - [x] local - [x] in tilde Co-authored-by: maren <git@stillgreenmoss.net> Reviewed-on: #2 Reviewed-by: maren <git@stillgreenmoss.net> Co-authored-by: oxaliq <git@oxaliq.net> Co-committed-by: oxaliq <git@oxaliq.net>
6 lines
103 B
Bash
6 lines
103 B
Bash
#!/bin/sh -e
|
|
chatlog=/var/log/bunkchat/chat.log
|
|
|
|
chattr -a $chatlog
|
|
echo > $chatlog
|
|
chattr +a $chatlog
|