cronjob creation for backup, .https is installed via seed_cp
This commit is contained in:
parent
c5ca217100
commit
bc3302193e
|
@ -57,7 +57,7 @@ files:
|
||||||
|
|
||||||
|
|
||||||
"$(cfg[install_dir])/public/.htaccess"
|
"$(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"),
|
perms => mog("644","root","root"),
|
||||||
depends_on => {"vimbadmin_untarred"},
|
depends_on => {"vimbadmin_untarred"},
|
||||||
handle => "vimbadmin_htaccess_copied";
|
handle => "vimbadmin_htaccess_copied";
|
||||||
|
@ -130,6 +130,9 @@ methods:
|
||||||
"any" usebundle => php_composer;
|
"any" usebundle => php_composer;
|
||||||
"any" usebundle => mysql_table_exists(@(cfg),"admin");
|
"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:
|
reports:
|
||||||
# "VIMBADMIN $(cfg[restore_db_file])";
|
# "VIMBADMIN $(cfg[restore_db_file])";
|
||||||
|
|
||||||
|
@ -147,6 +150,6 @@ reports:
|
||||||
body contain vimbadmin_cmd
|
body contain vimbadmin_cmd
|
||||||
{
|
{
|
||||||
|
|
||||||
exec_owner => "www-data";
|
exec_owner => "$(apache.www_user)";
|
||||||
exec_group => "www-data";
|
exec_group => "$(apache.www_group)";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue