new CLEAN_DOWNLOADS option
This commit is contained in:
parent
3eb01d3a1b
commit
2672910120
|
@ -28,6 +28,7 @@ LABEL maintainer="youegraillot"
|
||||||
|
|
||||||
ENV DEEMIX_SINGLE_USER=true
|
ENV DEEMIX_SINGLE_USER=true
|
||||||
ENV AUTOCONFIG=true
|
ENV AUTOCONFIG=true
|
||||||
|
ENV CLEAN_DOWNLOADS=true
|
||||||
ENV PUID=1000
|
ENV PUID=1000
|
||||||
ENV PGID=1000
|
ENV PGID=1000
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,8 @@ This allows an easy deployment, with the advantage of having a direct control ov
|
||||||
| `-e PUID=1000` | for UserID |
|
| `-e PUID=1000` | for UserID |
|
||||||
| `-e PGID=1000` | for GroupID |
|
| `-e PGID=1000` | for GroupID |
|
||||||
| `-e AUTOCONFIG=true` | Enable automatic configuration - see below for explanation |
|
| `-e AUTOCONFIG=true` | Enable automatic configuration - see below for explanation |
|
||||||
| `-e FLAC2CUSTOM_ARGS=true` | Sets arguments used when calling flac2custom.sh |
|
| `-e FLAC2CUSTOM_ARGS=""` | Sets arguments used when calling flac2custom.sh |
|
||||||
|
| `-e CLEAN_DOWNLOADS=true` | Enable cleaning empty folders in /downloads |
|
||||||
| `-v /config` | Configuration files for Lidarr. |
|
| `-v /config` | Configuration files for Lidarr. |
|
||||||
| `-v /config_deemix` | Configuration files for Deemix. |
|
| `-v /config_deemix` | Configuration files for Deemix. |
|
||||||
| `-v /downloads` | Path to your download folder for music. |
|
| `-v /downloads` | Path to your download folder for music. |
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$CLEAN_DOWNLOADS" != "true" ]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Info|Lidarr event: $lidarr_eventtype" >&2
|
echo "Info|Lidarr event: $lidarr_eventtype" >&2
|
||||||
|
|
||||||
# Handle Lidarr Test event
|
# Handle Lidarr Test event
|
||||||
|
|
Loading…
Reference in New Issue