fix bitcoind config file linking bug in module
This commit is contained in:
parent
b1375df03a
commit
eca9864cf3
@ -188,8 +188,8 @@ in {
|
|||||||
if ! test -e ${cfg.dataDir}; then
|
if ! test -e ${cfg.dataDir}; then
|
||||||
mkdir -m 0770 -p '${cfg.dataDir}'
|
mkdir -m 0770 -p '${cfg.dataDir}'
|
||||||
chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}'
|
chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}'
|
||||||
ln -s '${configFile}' '${cfg.dataDir}/bitcoin.conf'
|
|
||||||
fi
|
fi
|
||||||
|
ln -sf '${configFile}' '${cfg.dataDir}/bitcoin.conf'
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
|
Loading…
Reference in New Issue
Block a user