feat: debian scripts
This commit is contained in:
parent
1029563cb1
commit
94f310872c
3 changed files with 63 additions and 0 deletions
14
scripts/run.sh
Normal file
14
scripts/run.sh
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue