summaryrefslogtreecommitdiffstats
path: root/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-27 09:06:45 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-27 09:06:45 -0400
commit0a127f861e82227b4915c294f9e325216e0333f1 (patch)
tree7bb3961665d9985789929131e751a4342fd7fda6 /tozt
parentbbb827760f1f31aa0ffa90b62dd5f491d4e748c8 (diff)
downloadpuppet-tozt-0a127f861e82227b4915c294f9e325216e0333f1.tar.gz
puppet-tozt-0a127f861e82227b4915c294f9e325216e0333f1.zip
need to include the hook file
Diffstat (limited to 'tozt')
-rw-r--r--tozt/ttrss/files/pacman-hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/tozt/ttrss/files/pacman-hook b/tozt/ttrss/files/pacman-hook
new file mode 100644
index 0000000..f9cf938
--- /dev/null
+++ b/tozt/ttrss/files/pacman-hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = tt-rss
+
+[Action]
+Description = Updating TT-RSS Database
+When = PostTransaction
+Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/tt-rss/update.php --update-schema