Make distroless the sole latest image and default Compose runtime
Build and Push Docker Image / build (push) Successful in 53s
Build and Push Docker Image / build (push) Successful in 53s
This commit is contained in:
1 parent
8b88089cb4
commit
4b53923829
7 files changed
+45
-137
No files matched your search
@@ -1,22 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
CLEANUP_FILE="/home/nfs_download/rsession/rtorrent.lock"
|
||||
|
||||
# Remove stale lock at startup
|
||||
if [ -f "$CLEANUP_FILE" ]; then
|
||||
echo "️Stale lock file found. Removing..."
|
||||
rm -f "$CLEANUP_FILE"
|
||||
fi
|
||||
|
||||
cleanup() {
|
||||
echo "Caught shutdown signal. Cleaning up..."
|
||||
rm -f "$CLEANUP_FILE"
|
||||
echo "Cleanup complete."
|
||||
}
|
||||
|
||||
trap cleanup INT TERM EXIT
|
||||
|
||||
echo "Starting rtorrent..."
|
||||
|
||||
exec rtorrent
|
||||
Reference in new issue
Block a user