feat: debian scripts

This commit is contained in:
nihonium 2026-01-14 13:23:24 +03:00
parent 1029563cb1
commit 94f310872c
3 changed files with 63 additions and 0 deletions

14
scripts/run.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
# --------------------------------------
# Запуск AuthApp
# --------------------------------------
CONFIG_PATH="configs/config.toml"
if [ ! -f "$CONFIG_PATH" ]; then
echo "Конфигурационный файл $CONFIG_PATH не найден!"
exit 1
fi
echo "Запуск AuthApp с конфигурацией $CONFIG_PATH..."
./build/release/authapp --config "$CONFIG_PATH"