Old layout:
/etc/pmg/acme-plugins.conf
/etc/pmg/acme/<account_name>
New layout:
/etc/pmg/acme/plugins.conf
/etc/pmg/acme/accounts/<account_name>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
use base qw(PVE::RESTHandler);
my $inotify_file_id = 'pmg-acme-plugins-config.conf';
-my $config_filename = '/etc/pmg/acme-plugins.conf';
+my $config_filename = '/etc/pmg/acme/plugins.conf';
my $lockfile = "/var/lock/pmg-acme-plugins-config.lck";
PVE::ACME::DNSChallenge->register();
SMTP_CERT => '/etc/pmg/pmg-tls.pem',
};
-my $account_prefix = '/etc/pmg/acme';
+my $account_prefix = '/etc/pmg/acme/accounts';
# TODO: Move `pve-acme-account-name` to common and reuse instead of this.
PVE::JSONSchema::register_standard_option('pmg-acme-account-name', {
'transport',
'tls_policy',
'fetchmailrc',
- 'acme-plugins.conf',
];
foreach my $filename (@$files) {