Changeset View
Changeset View
Standalone View
Standalone View
net-p2p/c-lightning/files/lightningd.in
Context not available. | |||||
name="lightningd" | name="lightningd" | ||||
rcvar=lightningd_enable | rcvar=lightningd_enable | ||||
load_rc_config ${name} | load_rc_config ${name} | ||||
# If clnrest plugin is enabled it fails to load with OpenSSL 3.0: RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. | |||||
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 | |||||
: ${lightningd_enable:="NO"} | : ${lightningd_enable:="NO"} | ||||
: ${lightningd_user:="%%U%%"} | : ${lightningd_user:="%%U%%"} | ||||
: ${lightningd_group:="%%G%%"} | : ${lightningd_group:="%%G%%"} | ||||
: ${lightningd_base_dir:="%%LIGHTNINGD_BASE_DIR%%"} | : ${lightningd_base_dir:="%%LIGHTNINGD_BASE_DIR%%"} | ||||
: ${lightningd_network:="bitcoin"} | : ${lightningd_network:="bitcoin"} | ||||
: ${lightningd_conf:="%%PREFIX%%/etc/${name}-${lightningd_network}.conf"} | : ${lightningd_conf:="%%PREFIX%%/etc/${name}-${lightningd_network}.conf"} | ||||
Context not available. |