feat(id.tjo.space): changes

This commit is contained in:
Tine 2025-03-06 20:39:36 +01:00
parent 7e2485bdbf
commit dbe532d360
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -1,8 +1,11 @@
#!/bin/bash
set -euo pipefail
SERVICE_DIR="/root/service"
mkdir -p ${SERVICE_DIR}
cd ${SERVICE_DIR}
echo "== Fetch Source Code (from git)"
cd "/root/service"
# Clone if not yet cloned
if [ ! -d .git ]; then
git clone \
@ -30,4 +33,5 @@ ufw allow 636/tcp # LDAPS
ufw enable
echo "=== Setup Containers"
cp -r /id.tjo.space/configs /etc/
cp -r /id.tjo.space/containers /etc/containers/systemd/