Skip to content

Commit

Permalink
No need to link to the log; it rotates
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Bentley <mbentley@mbentley.net>
  • Loading branch information
mbentley committed Feb 1, 2020
1 parent e4ab97d commit 6e07429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Expand Up @@ -28,7 +28,7 @@ RUN (mkdir /var/airsonic/transcode &&\
RUN (mkdir /data &&\
cd /data &&\
mkdir db index16 lucene2 lastfmcache thumbs music Podcast playlists .cache .java &&\
touch airsonic.properties airsonic.log rollback.sql &&\
touch airsonic.properties rollback.sql &&\
cd /var/airsonic &&\
ln -s /data/db &&\
ln -s /data/index16 &&\
Expand All @@ -41,7 +41,6 @@ RUN (mkdir /data &&\
ln -s /data/.cache &&\
ln -s /data/.java &&\
ln -s /data/airsonic.properties &&\
ln -s /data/airsonic.log &&\
ln -s /data/rollback.sql &&\
chown -R airsonic:airsonic /data)

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Expand Up @@ -26,7 +26,7 @@ do
fi
done

for FILE in airsonic.properties airsonic.log rollback.sql
for FILE in airsonic.properties rollback.sql
do
if [ ! -f "${FILE}" ]
then
Expand Down

0 comments on commit 6e07429

Please sign in to comment.