Compare commits
2 Commits
4901d48650
...
e7ed6c3e07
Author | SHA1 | Date | |
---|---|---|---|
e7ed6c3e07 | |||
6309901da2 |
@ -37,7 +37,8 @@ RUN chmod +x /entryPoint.sh
|
||||
ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/
|
||||
|
||||
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
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"]
|
@ -1,3 +1,9 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user