feat: change config dir path to /etc/libretime
BREAKING: The configuration directory changed from `/etc/airtime` to `/etc/libretime`. Please rename your configuration directory accordingly.
This commit is contained in:
parent
604ff20239
commit
aed6d2f294
29 changed files with 51 additions and 45 deletions
|
@ -3,7 +3,7 @@ Description=LibreTime Media Analyzer Service
|
|||
|
||||
[Service]
|
||||
Environment=LIBRETIME_LOG_FILEPATH=/var/log/libretime/analyzer.log
|
||||
Environment=LIBRETIME_CONFIG_FILEPATH=/etc/airtime/config.yml
|
||||
Environment=LIBRETIME_CONFIG_FILEPATH=/etc/libretime/config.yml
|
||||
WorkingDirectory=/var/lib/libretime/analyzer
|
||||
|
||||
ExecStart=/usr/local/bin/libretime-analyzer
|
||||
|
|
|
@ -19,7 +19,7 @@ post_file() {
|
|||
file_path="${stripped_file_path}"
|
||||
# filename="${file_path##*/}"
|
||||
|
||||
airtime_conf_path=/etc/airtime/config.yml
|
||||
airtime_conf_path=/etc/libretime/config.yml
|
||||
|
||||
#instance_path will look like 1/1384, for example
|
||||
http_path=$(grep base_url ${airtime_conf_path} | awk '{print $3;}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue