Add installation scripts and documentation

This commit is contained in:
2025-09-20 22:30:00 +02:00
parent b0f1c2dc05
commit 147c7f28d5
2 changed files with 32 additions and 0 deletions

15
install.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Install the service on the target machine
SERVICEDIR="/usr/local/bin"
SYSTEMDDIR="/etc/systemd/system"
echo "- Installing the service files"
cp ./services/git-monitor $SERVICEDIR
cp ./units/git-monitor.service $SYSTEMDDIR
echo "- Preparing the service files"
systemctl daemon-reload
systemctl start git-monitor.service
echo "- Installation complete."