v1.0.3 - Set permissions to SMA log file

master
RandomNinjaAtk 4 years ago committed by GitHub
parent 7154014a82
commit 264aed1ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ function Configuration {
log "##### SABnzbd Category: $category" log "##### SABnzbd Category: $category"
log "##### DOCKER: $TITLE" log "##### DOCKER: $TITLE"
log "##### SCRIPT: Video Post Processor ($TITLESHORT)" log "##### SCRIPT: Video Post Processor ($TITLESHORT)"
log "##### SCRIPT VERSION: 1.0.2" log "##### SCRIPT VERSION: 1.0.3"
log "##### DOCKER VERSION: $VERSION" log "##### DOCKER VERSION: $VERSION"
log "##### CONFIGURATION VERIFICATION" log "##### CONFIGURATION VERIFICATION"
@ -338,6 +338,10 @@ function Main {
if [ ${VIDEO_SMA} = TRUE ]; then if [ ${VIDEO_SMA} = TRUE ]; then
if [ -f "${basefilename}.${extension}" ]; then if [ -f "${basefilename}.${extension}" ]; then
if [ -f /config/scripts/logs/sma.log ]; then
chmod 666 /config/scripts/logs/sma.log
chwon abc:abc /config/scripts/logs/sma.log
fi
log "" log ""
log "Begin processing with Sickbeard MP4 Automator..." log "Begin processing with Sickbeard MP4 Automator..."
log "" log ""

Loading…
Cancel
Save