mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 02:28:38 +02:00
20 lines
416 B
Bash
20 lines
416 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
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
|