13 lines
No EOL
380 B
Text
13 lines
No EOL
380 B
Text
# 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 nextcloud -- /usr/bin/php-legacy --php-ini /etc/webapps/nextcloud/php.ini /usr/share/webapps/nextcloud/occ upgrade |