Skip to content

Commit

Permalink
docker: refres conf file and plugins they may change during upgrade
Browse files Browse the repository at this point in the history
Changelog-Fixed: docker: refres conf file and plugins they may change during upgrade

Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Jul 15, 2022
1 parent 6efdb6f commit efdb589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def build_ln_directory() -> str:
ln_dir = os.environ["CLIGHTNING_DATA"]
if not path.exists(ln_dir):
run_cmd(f"mkdir {ln_dir}")
run_cmd(f"cp -rf /opt/config {ln_dir}/config")
run_cmd(f"mkdir {ln_dir}/plugins")
copyfiles("/opt", f"{ln_dir}/plugins", "*.sh")
run_cmd(f"chown -R clightning4j {ln_dir}")
run_cmd(f"cp -rf /opt/config {ln_dir}/config")
copyfiles("/opt", f"{ln_dir}/plugins", "*.sh")
run_cmd(f"chown -R clightning4j {ln_dir}")
run_tor()
return ln_dir

Expand Down

0 comments on commit efdb589

Please sign in to comment.