summarylogtreecommitdiffstats
path: root/nextcloud.hook
blob: c9ae16d02b17ed317f4f1abfb21a25cefeead326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Update Nextcloud when core or -apps are touched

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = nextcloud
Target = nextcloud-app-*

[Action]
Description = Updating Nextcloud installation
When = PostTransaction
Exec = /usr/bin/runuser -u http -- /usr/bin/php7 /usr/share/webapps/nextcloud/occ upgrade