summaryrefslogtreecommitdiffstats
path: root/modules/ttrss/files/pacman-hook
blob: b6f92f97a6000940712c9a3e9826ebbb7947417d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = tt-rss

[Action]
Description = Updating TT-RSS Database
When = PostTransaction
Exec = sh -c "systemctl stop tt-rss && /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/tt-rss/update.php --update-schema && systemctl start tt-rss"