Skip to content
Snippets Groups Projects
Commit ab769093 authored by drebs's avatar drebs
Browse files

Add Nextcloud config for maintenance window

parent 45af848d
Branches
No related tags found
No related merge requests found
Pipeline #210236 failed
<?php
$CONFIG = array (
'maintenance_window_start' => 1,
);
......@@ -382,6 +382,15 @@ class profile::nextcloud (
# Periodic apps update
#
file { "${www_root}/config/maintenance_window_start.config.php":
ensure => file,
owner => www-data,
group => www-data,
mode => '0644',
source => 'puppet:///modules/profile/nextcloud/maintenance_window_start.config.php',
require => File["${www_root}/config"],
}
cron { 'occ app:update --all':
command => "php ${www_root}/occ app:update --all",
user => www-data,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment