49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
#!/bin/bash
|
|
# Name: Statique Littérateur
|
|
# Type: Configuration file
|
|
# file: stl.conf
|
|
# Folder: /etc/stl/stl.conf
|
|
# By echolib (XMPP: im@echolib.re)
|
|
# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
|
|
|
|
|
|
#======================================================================
|
|
# Register main app folders
|
|
#======================================================================
|
|
stl_dir="/var/lib/stl"
|
|
stl_dir_help="$stl_dir/help"
|
|
stl_dir_db="$stl_dir/db"
|
|
stl_dir_scripts="$stl_dir/scripts"
|
|
stl_dir_log="/var/log/stl"
|
|
|
|
|
|
#======================================================================
|
|
# Register main scripts files
|
|
#======================================================================
|
|
stl_file_help_args="$stl_dir_help/help"
|
|
|
|
stl_file_log="$stl_dir_log/stl.log"
|
|
stl_file_last_log="$stl_dir_log/last_stl.log"
|
|
|
|
stl_file_pwd_conf='.stl.conf'
|
|
|
|
|
|
#======================================================================
|
|
# Logs
|
|
#======================================================================
|
|
stl_log_e="Err"
|
|
stl_log_w="War"
|
|
stl_log_i='Inf'
|
|
|
|
|
|
#======================================================================
|
|
# colors
|
|
#======================================================================
|
|
NC="\e[0m"
|
|
CY="\e[33m"
|
|
CR="\e[0;91m"
|
|
|
|
# Repository
|
|
stl_repo="https://git.a-lec.org/echolib/stl.git"
|
|
|