add idrive
This commit is contained in:
1 parent
5fb9fdaddb
commit
46f2c6197f
7 files changed
+192
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
export LD_LIBRARY_PATH="/opt/IDriveForLinux/bin/Idrivelib/dependencies/python/lib:$LD_LIBRARY_PATH"
|
||||
|
||||
# Seed empty Kubernetes PVC volume on first startup
|
||||
if [ ! -f /opt/IDriveForLinux/idriveIt/idrivecrontab.json ]; then
|
||||
echo "Initializing persistent volume in /opt/IDriveForLinux/idriveIt..."
|
||||
cp -a /opt/IDriveForLinux/idriveIt.orig/* /opt/IDriveForLinux/idriveIt/
|
||||
fi
|
||||
|
||||
# Start background cron service for scheduled backups
|
||||
cron
|
||||
|
||||
# Keep container running in background
|
||||
tail -f /dev/null
|
||||
Reference in new issue
Block a user