feat(api): allow to run without log file for dev

BREAKING CHANGE: moved production api log file
from '/var/log/airtime/api.log' to '/var/log/libretime/api.log'
This commit is contained in:
jo 2022-01-15 18:22:24 +01:00 committed by Kyle Robbertze
parent 401808d7d1
commit bf59f20ffd
2 changed files with 22 additions and 18 deletions

View file

@ -2,6 +2,8 @@
Description=LibreTime API Service
[Service]
Environment=LIBRETIME_LOG_FILEPATH=/var/log/libretime/api.log
ExecStart=/usr/bin/uwsgi /etc/airtime/libretime-api.ini
User=libretime-api
Group=libretime-api