Fix bisq-seednode.env file replacement

This commit is contained in:
wiz 2019-12-20 23:49:37 +09:00
parent 7eaf849f1a
commit 839f791caa
No known key found for this signature in database
GPG key ID: A394E332255A6173
2 changed files with 3 additions and 3 deletions

View file

@ -8,8 +8,8 @@ JAVA_HOME=/usr/lib/jvm/openjdk-10.0.2
JAVA_OPTS="-Xms8192M -Xmx8192M -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.host=127.0.0.1 -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.rmi.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
# bitcoin rpc credentials
BITCOIN_RPC_USERNAME=_BITCOIN_RPC_USER_
BITCOIN_RPC_PASSWORD=_BITCOIN_RPC_USER_
BITCOIN_RPC_USERNAME=__BITCOIN_RPC_USER__
BITCOIN_RPC_PASSWORD=__BITCOIN_RPC_USER__
# bitcoind rpc ports
BITCOIN_RPC_PORT=8332

View file

@ -5,7 +5,7 @@ Description=Bisq Seed Node
After=network.target
[Service]
EnvironmentFile=/etc/default/bisq-seednode
EnvironmentFile=/etc/default/bisq-seednode.env
ExecStart=__BISQ_HOME__/__BISQ_REPO_NAME__/bisq-seednode --appName=${BISQ_APP_NAME} --nodePort=${BISQ_NODE_PORT} --userDataDir=${BISQ_DATA_DIR} --maxConnections=${BISQ_MAX_CONNECTIONS} --maxMemory=${BISQ_MAX_MEMORY} --fullDaoNode=true --rpcUser=${BITCOIN_RPC_USERNAME} --rpcPassword=${BITCOIN_RPC_PASSWORD} --rpcPort=${BITCOIN_RPC_PORT} --rpcBlockNotificationPort=${BITCOIN_RPC_BLOCKNOTIFY_PORT} --baseCurrencyNetwork=${BISQ_BASE_CURRENCY} --dumpBlockchainData=${BISQ_DUMP_BLOCKCHAIN}
ExecStop=/bin/kill -TERM ${MAINPID}
Restart=on-failure