diff --git a/systemd/install.sh b/systemd/install.sh index 0bf7837..c3786ef 100644 --- a/systemd/install.sh +++ b/systemd/install.sh @@ -96,7 +96,7 @@ log "Aplikacja rozpakowana do $APP_DIR" sudo -u karl bash -c "python3 -m venv venv && source venv/bin/activate && pip install uv && uv sync" # --- 10. Kopiowanie pliku usługi systemd --- -SERVICE_SRC="$(dirname "$(realpath "$0")")/karl.service" +SERVICE_SRC="$APP_DIR/systemd/karl.service" SERVICE_DST="/etc/systemd/system/karl.service" if [[ ! -f "$SERVICE_SRC" ]]; then