dkr001 - Data folder defined -> /home/zenith/y

Configuration file moved to data folder
	  Database file moved to data folder
	  Log file moved to data folder
This commit is contained in:
Rene V. Vergara A. 2024-06-13 22:28:09 -04:00
parent 77a0890ac8
commit 1392929009
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@ processUri user pwd =
main :: IO ()
main = do
config <- load ["zenith.cfg"]
config <- load ["/home/zenith/zenith.cfg"]
args <- getArgs
dbFilePath <- require config "dbFilePath"
nodeUser <- require config "nodeUser"

View file

@ -1576,7 +1576,7 @@ sendTransaction pool chan zHost zPort znet accId bl amt ua memo = do
BC.writeBChan chan $ TickMsg "Preparing transaction..."
outUA <- parseAddress ua
res <-
runFileLoggingT "zenith.log" $
runFileLoggingT "/home/zenith/zenith.log" $
prepareTx pool zHost zPort znet accId bl amt outUA memo
BC.writeBChan chan $ TickMsg "Transaction ready, sending to Zebra..."
case res of