rewrote setup

This commit is contained in:
2026-07-23 21:21:47 +02:00
parent eddfdc8280
commit fe0de5cd1d
3 changed files with 22 additions and 196 deletions
+14 -1
View File
@@ -1,6 +1,19 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
echo "== installing systemd systems"
mkdir -p /opt/server/archivebox/archivebox-data
mkdir -p /mnt/kdrive/
rclone config
cp systemd/kdrive-rclone.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable kdrive-rclone
systemctl start kdrive-rclone
mountpoint /mnt/kdrive
ls /mnt/kdrive
echo
echo "== initializing archivebox"
docker compose run --rm archivebox init --setup