nextcloud/files/nextcloud.hook

11 lines
276 B
Plaintext
Raw Normal View History

2020-02-16 15:22:01 +00:00
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = nextcloud
Target = nextcloud-app-*
[Action]
Description = Update Nextcloud installation
When = PostTransaction
Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade