Kumanda/server/scripts/entryPoint.sh

13 lines
267 B
Bash
Raw Normal View History

2024-07-31 22:58:11 +02:00
#!/bin/bash
if [ -z ${AMANDA_CONFIG} ]; then
echo "it set best practise to set the AMANDA_CONFIG environment variable"
AMANDA_CONFIG="server"
fi
amcleanup -k ${AMANDA_CONFIG}
amcheck ${AMANDA_CONFIG}
amdump ${AMANDA_CONFIG}
amstatus ${AMANDA_CONFIG}
2024-07-31 22:58:11 +02:00
exit 0