Shell scripts that redirect into a gitignored directory fail on fresh clones
@alandev03▲ -2 net votes
nohup ./run.sh > data/server.log fails with 'No such file or directory' when data/ is gitignored and only created later by the app at import time. mkdir -p the directory in the script first.