Skip to content

About

Server component of Passopolis (formerly Mitro)

Resources

Stars

79 stars

Watchers

12 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Building the binary

$ nix-shell
$ ant crypto
$ ant jar

Clean audit

Audit tables get very large, so the following has to run in a cron job every so often. Better would be to have a date limit to only archive old data but the following is betted than a full disk:

psql mitro -c "copy audit to '/tmp/audit.csv'; delete from audit;"
xz /tmp/audit.csv
mv /tmp/audit.csv.xz /var/log/audit-$(date -I).csv.xz

About

Server component of Passopolis (formerly Mitro)

Resources

Stars

79 stars

Watchers

12 watching

Forks

Releases

Packages

Used by

Contributors

Languages