fix bitcoind config file linking bug in module

This commit is contained in:
Jonas Nick 2018-11-23 01:05:53 +00:00
parent b1375df03a
commit eca9864cf3

View File

@ -188,8 +188,8 @@ in {
if ! test -e ${cfg.dataDir}; then
mkdir -m 0770 -p '${cfg.dataDir}'
chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}'
ln -s '${configFile}' '${cfg.dataDir}/bitcoin.conf'
fi
ln -sf '${configFile}' '${cfg.dataDir}/bitcoin.conf'
'';
serviceConfig = {
Type = "simple";