1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00
This commit is contained in:
Éric Gaspar 2023-10-17 12:21:52 +02:00
parent 6d00bfbd2e
commit 584f9cb549
2 changed files with 3 additions and 2 deletions

View file

@ -10,8 +10,8 @@ SSH_SERVER_FINGERPRINT_RSA=__RSA_KEY__
SSH_SERVER_FINGERPRINT_ED25519=__ED25519_KEY__
SSH_SERVER_FINGERPRINT_ECDSA=__ECDSA_KEY__
# SMTP's variables
MAIL_SMTP_FROM=borgwarehouse@__DOMAIN__
MAIL_SMTP_HOST=localhost
MAIL_SMTP_FROM=borgwarehouse@__MAIN_DOMAIN__
MAIL_SMTP_HOST=__MAIN_DOMAIN__
MAIL_SMTP_PORT=25
MAIL_SMTP_LOGIN=__APP__
MAIL_SMTP_PWD=__MAIL_PWD__

View file

@ -6,6 +6,7 @@
nodejs_version=18
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
main_domain=$(cat /etc/yunohost/current_host)
rsa_key=$(ssh-keygen -lf /etc/ssh/ssh_host_rsa_key | awk '{print $2}')
ed25519_key=$(ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key | awk '{print $2}')