cronjob creation for backup, .https is installed via seed_cp

This commit is contained in:
Tobias Herre 2023-10-28 01:12:26 +02:00
parent c5ca217100
commit bc3302193e
1 changed files with 6 additions and 3 deletions

View File

@ -57,7 +57,7 @@ files:
"$(cfg[install_dir])/public/.htaccess"
copy_from => local_cp("$(cfg[install_dir])/public/.htaccess.dist"),
copy_from => seed_cp("$(cfg[install_dir])/public/.htaccess.dist"),
perms => mog("644","root","root"),
depends_on => {"vimbadmin_untarred"},
handle => "vimbadmin_htaccess_copied";
@ -130,6 +130,9 @@ methods:
"any" usebundle => php_composer;
"any" usebundle => mysql_table_exists(@(cfg),"admin");
vimbadmin_restore_db_file::
"any" usebundle => create_mysql_backup_cron_job(@(cfg),"$(cfg[restore_db_file])","admin","true");
reports:
# "VIMBADMIN $(cfg[restore_db_file])";
@ -147,6 +150,6 @@ reports:
body contain vimbadmin_cmd
{
exec_owner => "www-data";
exec_group => "www-data";
exec_owner => "$(apache.www_user)";
exec_group => "$(apache.www_group)";
}