Compare commits

..

No commits in common. "e7ed6c3e07dfba5eb7c7b1f33c1b6535e1768fbb" and "4901d48650f21a48aaad33ed6f6c29e1f3717a07" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -37,8 +37,7 @@ RUN chmod +x /entryPoint.sh
ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/ ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/
RUN chown -R backup:backup /var/backups RUN chown -R backup:backup /var/backups
RUN cp /usr/local/etc/amanda/amanda-security.conf /usr/local/etc/
RUN chown backup:backup /usr/local/etc/amanda-security.conf
USER backup USER backup
ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"] ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"]

View File

@ -1,9 +1,3 @@
#!/bin/bash #!/bin/bash
if [ -e /var/backups/amandahosts ]; then
cp /var/backups/amandahosts /var/backups/.amandahosts
chmod 600 /var/backups/.amandahosts
fi
inetd -d /etc/inetd.conf inetd -d /etc/inetd.conf