mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
backup: Fork ISO job into the background in CGI script
In order to be able to run the ISO command on command line it is helpful that the script does not go into background halfway through the process. We should rather start it as a background job straight from the CGI script. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
51ed815f5e
commit
45a5df5a5e
@@ -119,7 +119,7 @@ if ( $cgiparams{'ACTION'} eq "backup" )
|
||||
} elsif ( $cgiparams{'BACKUPLOGS'} eq "exclude" ) {
|
||||
&General::system("/usr/local/bin/backupctrl", "exclude");
|
||||
} elsif ( $cgiparams{'BACKUPLOGS'} eq "iso" ) {
|
||||
&General::system("/usr/local/bin/backupctrl", "iso");
|
||||
&General::system_background("/usr/local/bin/backupctrl", "iso");
|
||||
}
|
||||
}
|
||||
if ( $cgiparams{'ACTION'} eq "addonbackup" )
|
||||
|
||||
Reference in New Issue
Block a user