still permissions

This commit is contained in:
Sebastian Hugentobler 2017-11-25 19:48:31 +01:00
parent 1e65340641
commit 2ca7631980
2 changed files with 1 additions and 4 deletions

View File

@ -12,8 +12,7 @@ RUN chown -R airsonic:airsonic ${AIRSONIC_DIR}
RUN mkdir -p $AIRSONIC_DIR/data/transcode
RUN ln -s /usr/bin/ffmpeg $AIRSONIC_DIR/data/transcode/ffmpeg
RUN chmod +x $AIRSONIC_DIR/data/transcode/ffmpeg
RUN chown -R airsonic:airsonic $AIRSONIC_DIR/data/transcode
RUN chmod +x /usr/bin/ffmpeg
ADD /rootfs /

View File

@ -1,7 +1,5 @@
#!/usr/bin/with-contenv sh
chown airsonic:airsonic $AIRSONIC_DIR/data/transcode/ffmpeg
cd ${AIRSONIC_DIR}
exec s6-setuidgid airsonic java -Xmx512m \
-Dserver.host=0.0.0.0 \