This commit is contained in:
Simon 2021-10-09 23:10:41 +01:00
parent ecd17dcdcb
commit cd2600e3cc
2 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ services:
mem_reservation: 600m
volumes:
- '/etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg'
# - '/var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log'
- '/var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log'
- '/etc/freedmr/rules.py:/opt/freedmr/rules.py'
#Write JSON files outside of container
- '/etc/freedmr/json/talkgroup_ids.json:/opt/freedmr/talkgroup_ids.json'

View File

@ -69,7 +69,7 @@ REPORT_CLIENTS: *
[LOGGER]
LOG_FILE: freedmr.log
LOG_HANDLERS: console-timed
LOG_HANDLERS: file-timed
LOG_LEVEL: INFO
LOG_NAME: FreeDMR
@ -174,9 +174,9 @@ echo Set perms on config directory...
chown -R 54000 /etc/freedmr &&
echo Setup logging...
#mkdir -p /var/log/freedmr &&
#touch /var/log/freedmr/freedmr.log &&
#chown -R 54000 /var/log/freedmr &&
mkdir -p /var/log/freedmr &&
touch /var/log/freedmr/freedmr.log &&
chown -R 54000 /var/log/freedmr &&
mkdir -p /var/log/FreeDMRmonitor &&
touch /var/log/FreeDMRmonitor/lastheard.log &&
touch /var/log/FreeDMRmonitor/hbmon.log &&