Extend PHP session.gc_maxlifetime

Don't get logged out of RAI so quickly
This commit is contained in:
Keith Whyte 2023-01-20 17:16:36 +01:00
parent 6d993331c0
commit 161a0bb032
2 changed files with 8 additions and 1 deletions

View file

@ -75,6 +75,13 @@ class rhizo_base::packages::buster inherits rhizo_base::packages::common {
append_on_no_match => false,
}
file_line { 'apache_php_gc':
ensure => present,
path => '/etc/php/7.3/apache2/php.ini',
line => 'session.gc_maxlifetime = 14400',
match => '^session.gc_maxlifetime',
append_on_no_match => false,
}
}
class rhizo_base::packages::stretch inherits rhizo_base::packages::common {