update.sh verschoben
lag falsch
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "🔄 Update Temp Cleanup System..."
|
||||||
|
|
||||||
|
REPO_DIR="$HOME/workstation-config"
|
||||||
|
|
||||||
|
cd "$REPO_DIR"
|
||||||
|
|
||||||
|
echo "📥 Hole Updates..."
|
||||||
|
git pull
|
||||||
|
|
||||||
|
echo "🔧 Setze Rechte..."
|
||||||
|
chmod +x temp-cleanup/cleanup_temp.sh
|
||||||
|
|
||||||
|
echo "🔄 Reload systemd..."
|
||||||
|
systemctl --user daemon-reload
|
||||||
|
|
||||||
|
echo "🔁 Restart Timer..."
|
||||||
|
systemctl --user restart cleanup-temp.timer
|
||||||
|
|
||||||
|
echo "✅ Update abgeschlossen!"
|
||||||
Reference in New Issue
Block a user