Skip to content

WeAreWizards/passopolis-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •