Fix log file location for MongoDB (#13744)

This commit is contained in:
Shrikant Sharat Kandula 2022-05-11 22:43:30 +05:30 committed by GitHub
parent ae22baaa36
commit f344688b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
[program:mongodb]
directory=/appsmith-stacks/data/mongodb
command=mongod --port 27017 --dbpath . --logpath log --replSet mr1 --keyFile key --bind_ip localhost
command=mongod --port 27017 --dbpath . --logpath /appsmith-stacks/logs/%(program_name)s/db.log --replSet mr1 --keyFile key --bind_ip localhost
priority=10
autostart=true
autorestart=true
@ -13,4 +13,4 @@ stderr_logfile_maxbytes=10MB
stdout_logfile_backups=5
stderr_logfile_backups=5
stdout_events_enabled=true
stderr_events_enabled=true
stderr_events_enabled=true