mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Change dash->dashcore for /etc/ and /var/lib/ folders
This commit is contained in:
parent
b8696d9e26
commit
69dc9f182d
@ -9,7 +9,7 @@ env BITCOIND_GROUP="dashcore"
|
|||||||
env BITCOIND_PIDDIR="/var/run/dashd"
|
env BITCOIND_PIDDIR="/var/run/dashd"
|
||||||
# upstart can't handle variables constructed with other variables
|
# upstart can't handle variables constructed with other variables
|
||||||
env BITCOIND_PIDFILE="/var/run/dashd/dashd.pid"
|
env BITCOIND_PIDFILE="/var/run/dashd/dashd.pid"
|
||||||
env BITCOIND_CONFIGFILE="/etc/dash/dash.conf"
|
env BITCOIND_CONFIGFILE="/etc/dashcore/dash.conf"
|
||||||
env BITCOIND_DATADIR="/var/lib/dashd"
|
env BITCOIND_DATADIR="/var/lib/dashd"
|
||||||
|
|
||||||
expect fork
|
expect fork
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
# backward compatibility for existing gentoo layout
|
# backward compatibility for existing gentoo layout
|
||||||
#
|
#
|
||||||
if [ -d "/var/lib/dash/.dash" ]; then
|
if [ -d "/var/lib/dashcore/.dashcore" ]; then
|
||||||
BITCOIND_DEFAULT_DATADIR="/var/lib/dash/.dash"
|
BITCOIND_DEFAULT_DATADIR="/var/lib/dashcore/.dashcore"
|
||||||
else
|
else
|
||||||
BITCOIND_DEFAULT_DATADIR="/var/lib/dashd"
|
BITCOIND_DEFAULT_DATADIR="/var/lib/dashd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BITCOIND_CONFIGFILE=${BITCOIND_CONFIGFILE:-/etc/dash/dash.conf}
|
BITCOIND_CONFIGFILE=${BITCOIND_CONFIGFILE:-/etc/dashcore/dash.conf}
|
||||||
BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/dashd}
|
BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/dashd}
|
||||||
BITCOIND_PIDFILE=${BITCOIND_PIDFILE:-${BITCOIND_PIDDIR}/dashd.pid}
|
BITCOIND_PIDFILE=${BITCOIND_PIDFILE:-${BITCOIND_PIDDIR}/dashd.pid}
|
||||||
BITCOIND_DATADIR=${BITCOIND_DATADIR:-${BITCOIND_DEFAULT_DATADIR}}
|
BITCOIND_DATADIR=${BITCOIND_DATADIR:-${BITCOIND_DEFAULT_DATADIR}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# /etc/conf.d/dashd: config file for /etc/init.d/dashd
|
# /etc/conf.d/dashd: config file for /etc/init.d/dashd
|
||||||
|
|
||||||
# Config file location
|
# Config file location
|
||||||
#BITCOIND_CONFIGFILE="/etc/dash/dash.conf"
|
#BITCOIND_CONFIGFILE="/etc/dashcore/dash.conf"
|
||||||
|
|
||||||
# What directory to write pidfile to? (created and owned by $BITCOIND_USER)
|
# What directory to write pidfile to? (created and owned by $BITCOIND_USER)
|
||||||
#BITCOIND_PIDDIR="/var/run/dashd"
|
#BITCOIND_PIDDIR="/var/run/dashd"
|
||||||
|
@ -9,7 +9,7 @@ Group=dashcore
|
|||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/lib/dashd/dashd.pid
|
PIDFile=/var/lib/dashd/dashd.pid
|
||||||
ExecStart=/usr/bin/dashd -daemon -pid=/var/lib/dashd/dashd.pid \
|
ExecStart=/usr/bin/dashd -daemon -pid=/var/lib/dashd/dashd.pid \
|
||||||
-conf=/etc/dash/dash.conf -datadir=/var/lib/dashd -disablewallet
|
-conf=/etc/dashcore/dash.conf -datadir=/var/lib/dashd -disablewallet
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
@ -54,7 +54,7 @@ see `contrib/debian/examples/dash.conf`.
|
|||||||
All three configurations assume several paths that might need to be adjusted.
|
All three configurations assume several paths that might need to be adjusted.
|
||||||
|
|
||||||
Binary: `/usr/bin/dashd`
|
Binary: `/usr/bin/dashd`
|
||||||
Configuration file: `/etc/dash/dash.conf`
|
Configuration file: `/etc/dashcore/dash.conf`
|
||||||
Data directory: `/var/lib/dashd`
|
Data directory: `/var/lib/dashd`
|
||||||
PID file: `/var/run/dashd/dashd.pid` (OpenRC and Upstart) or `/var/lib/dashd/dashd.pid` (systemd)
|
PID file: `/var/run/dashd/dashd.pid` (OpenRC and Upstart) or `/var/lib/dashd/dashd.pid` (systemd)
|
||||||
Lock file: `/var/lock/subsys/dashd` (CentOS)
|
Lock file: `/var/lock/subsys/dashd` (CentOS)
|
||||||
|
@ -51,7 +51,7 @@ If you configure your Tor system accordingly, it is possible to make your node a
|
|||||||
reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equivalent
|
reachable from the Tor network. Add these lines to your /etc/tor/torrc (or equivalent
|
||||||
config file):
|
config file):
|
||||||
|
|
||||||
HiddenServiceDir /var/lib/tor/dash-service/
|
HiddenServiceDir /var/lib/tor/dashcore-service/
|
||||||
HiddenServicePort 9999 127.0.0.1:9999
|
HiddenServicePort 9999 127.0.0.1:9999
|
||||||
HiddenServicePort 19999 127.0.0.1:19999
|
HiddenServicePort 19999 127.0.0.1:19999
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ your dashd's P2P listen port (9999 by default).
|
|||||||
-externalip=X You can tell Dash Core about its publicly reachable address using
|
-externalip=X You can tell Dash Core about its publicly reachable address using
|
||||||
this option, and this can be a .onion address. Given the above
|
this option, and this can be a .onion address. Given the above
|
||||||
configuration, you can find your onion address in
|
configuration, you can find your onion address in
|
||||||
/var/lib/tor/dash-service/hostname. Onion addresses are given
|
/var/lib/tor/dashcore-service/hostname. Onion addresses are given
|
||||||
preference for your node to advertize itself with, for connections
|
preference for your node to advertize itself with, for connections
|
||||||
coming from unroutable addresses (such as 127.0.0.1, where the
|
coming from unroutable addresses (such as 127.0.0.1, where the
|
||||||
Tor proxy typically runs).
|
Tor proxy typically runs).
|
||||||
|
Loading…
Reference in New Issue
Block a user