mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 02:28:38 +02:00
rewrote setup
This commit is contained in:
+14
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user