nextcloud/files/nextcloud.hook

12 lines
282 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 nextcloud -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade