fix: remove extraneous chown
This commit is contained in:
parent
8483b50cbb
commit
52fa7292aa
1 changed files with 1 additions and 3 deletions
|
@ -11,7 +11,7 @@ from .config import read_config
|
||||||
logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(name)s: %(message)s')
|
logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(name)s: %(message)s')
|
||||||
log = logging.getLogger('nyacme')
|
log = logging.getLogger('nyacme')
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog='nyacme',
|
prog='nyacme',
|
||||||
|
@ -72,8 +72,6 @@ def main() -> None:
|
||||||
|
|
||||||
domain_key.unlink(missing_ok=True)
|
domain_key.unlink(missing_ok=True)
|
||||||
domain_key.hardlink_to(private_key)
|
domain_key.hardlink_to(private_key)
|
||||||
# TODO: add user/group to config
|
|
||||||
shutil.chown(domain_key, 'acme', 'acme')
|
|
||||||
domain_key.chmod(0o440)
|
domain_key.chmod(0o440)
|
||||||
|
|
||||||
all_dir = output_dir / 'all'
|
all_dir = output_dir / 'all'
|
||||||
|
|
Loading…
Reference in a new issue