rewrote setup

This commit is contained in:
tomasr committed 2026-07-23 21:21:47 +02:00
1 parent eddfdc8280
commit fe0de5cd1d
3 files changed
+22 -196

No files matched your search

+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