diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-18 01:04:45 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-20 20:16:34 +0100 |
commit | 1c4fc8c431e69780625600a4ee8526e1a3cbb3f4 (patch) | |
tree | 975e5fecd10f60ca61b231ec7cf9f0df9a75336c /lacme | |
parent | 11d971bc07ceb4359565e6611ae03a0c0134d153 (diff) |
lacme(8)'s 'config' option in the [accountd] section no longer have a default value.
The previous default, namely /etc/lacme/lacme-accountd.conf, is still
honored when there is the user running lacme doesn't have a
~/.config/lacme/lacme-account.conf configuration file.
Diffstat (limited to 'lacme')
-rwxr-xr-x | lacme | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,7 +114,7 @@ do { user => '', group => '', command => '@@bindir@@/lacme-accountd', - config => '@@sysconfdir@@/lacme/lacme-accountd.conf', + config => '', privkey => undef, quiet => 'Yes', } @@ -511,7 +511,7 @@ sub acme_client($@) { open STDOUT, '>&', $s or die "dup: $!"; my ($cmd, @args) = split(/\s+/, $accountd->{command}) or die "Empty accountd command\n"; push @args, '--stdio'; - push @args, '--config='.$accountd->{config} if defined $accountd->{config}; + push @args, '--config='.$accountd->{config} if $accountd->{config} ne ''; push @args, '--privkey='.$accountd->{privkey} if defined $accountd->{privkey}; push @args, '--quiet' unless lc $accountd->{quiet} eq 'no'; push @args, '--debug' if $OPTS{debug}; |