Compare commits
No commits in common. "837a4358b82f4c0a2fe82ca3381afdd929979d09" and "fcc8c8b17434dc5c10bff9ceb0aed0b514f8ded2" have entirely different histories.
837a4358b8
...
fcc8c8b174
@ -30,7 +30,7 @@
|
||||
############################################################
|
||||
runtar:gnutar_path=/usr/bin/tar
|
||||
|
||||
restore_by_amanda_user=yes
|
||||
#restore_by_amanda_user=no
|
||||
|
||||
tcp_port_range=512,1024
|
||||
udp_port_range=840,860
|
||||
|
@ -22,7 +22,7 @@ FROM debian:stable-slim
|
||||
RUN apt-get -qy update && apt-get -qy upgrade
|
||||
RUN apt-get -qy install git libssl3 bash perl libglib2.0 swig libtirpc3 libreadline8 \
|
||||
libxslt1.1 libxml-simple-perl libjson-perl procps
|
||||
RUN apt-get -qy install tini openbsd-inetd
|
||||
RUN apt-get -qy install tini
|
||||
|
||||
COPY --from=builder /usr/local/ /usr/local/
|
||||
|
||||
@ -34,8 +34,6 @@ ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/
|
||||
ADD scripts/entryPoint.sh /entryPoint.sh
|
||||
RUN chmod +x /entryPoint.sh
|
||||
|
||||
COPY inetd.conf /etc/inetd.conf
|
||||
|
||||
USER backup
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"]
|
@ -1 +0,0 @@
|
||||
amanda stream tcp nowait backup /usr/local/libexec/amanda/amandad amandad -auth=ssl amindexd amidxtaped
|
@ -5,21 +5,9 @@ if [ -z ${AMANDA_CONFIG} ]; then
|
||||
AMANDA_CONFIG="server"
|
||||
fi
|
||||
|
||||
if [ -z ${AMANDA_MODE} ]; then
|
||||
AMANDA_MODE="dump"
|
||||
fi
|
||||
|
||||
if [ "${AMANDA_MODE}" == "dump" ]; then
|
||||
|
||||
amcleanup -k ${AMANDA_CONFIG}
|
||||
amcheck ${AMANDA_CONFIG}
|
||||
amdump ${AMANDA_CONFIG}
|
||||
amstatus ${AMANDA_CONFIG}
|
||||
|
||||
else
|
||||
inetd -d /etc/inetd.conf
|
||||
fi
|
||||
|
||||
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user