summarylogtreecommitdiffstats
path: root/paperless.hook
blob: 0f78fee63eefb8ad877bd0829b416f9229e10469 (plain)
1
2
3
4
5
6
7
8
9
[Trigger]
Operation = Upgrade
Type = Package
Target = paperless-ngx

[Action]
Description = Migrating the Paperless database
When = PostTransaction
Exec = /usr/bin/runuser -u paperless -- /usr/bin/paperless-manage migrate --noinput