* Thu Oct 30 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.2-22.sme

- remove sv files, rewrite systemd unit [SME: 11517]
- remove /var/log/httpd-bkpc/ [SME: 12197]
- remove logfiles2timestamp [SME: 12196]
This commit is contained in:
2025-10-30 17:42:27 -04:00
parent ec6b312c35
commit b2ab500ef3
7 changed files with 25 additions and 62 deletions

View File

@@ -39,11 +39,10 @@ sub main {
my $c = shift;
$c->app->log->info($c->log_req);
$cdb = esmith::ConfigDB::UTF8->open || die "Couldn't open config db";
$adb = esmith::AccountsDB::UTF8->open || die "Couldn't open accounts db";
my $url = "https://".$c->session->{'SystemName'}.".".$c->session->{"DomainName"}."/BackupPC";
$cdb = esmith::ConfigDB::UTF8->open || die "Couldn't open config db";
$adb = esmith::AccountsDB::UTF8->open || die "Couldn't open accounts db";
my $host = $c->req->url->to_abs->host;
my $url = "https://$host/BackupPC";
$c->stash(url => $url );
$c->render(template => 'backuppc');
@@ -72,4 +71,4 @@ sub get_backuppc {
return $out;
}
1;
1;