mirror of
https://github.com/YunoHost-Apps/borgwarehouse_ynh.git
synced 2024-09-03 18:16:17 +02:00
cleaning
This commit is contained in:
parent
6d00bfbd2e
commit
584f9cb549
2 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,8 @@ SSH_SERVER_FINGERPRINT_RSA=__RSA_KEY__
|
||||||
SSH_SERVER_FINGERPRINT_ED25519=__ED25519_KEY__
|
SSH_SERVER_FINGERPRINT_ED25519=__ED25519_KEY__
|
||||||
SSH_SERVER_FINGERPRINT_ECDSA=__ECDSA_KEY__
|
SSH_SERVER_FINGERPRINT_ECDSA=__ECDSA_KEY__
|
||||||
# SMTP's variables
|
# SMTP's variables
|
||||||
MAIL_SMTP_FROM=borgwarehouse@__DOMAIN__
|
MAIL_SMTP_FROM=borgwarehouse@__MAIN_DOMAIN__
|
||||||
MAIL_SMTP_HOST=localhost
|
MAIL_SMTP_HOST=__MAIN_DOMAIN__
|
||||||
MAIL_SMTP_PORT=25
|
MAIL_SMTP_PORT=25
|
||||||
MAIL_SMTP_LOGIN=__APP__
|
MAIL_SMTP_LOGIN=__APP__
|
||||||
MAIL_SMTP_PWD=__MAIL_PWD__
|
MAIL_SMTP_PWD=__MAIL_PWD__
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
nodejs_version=18
|
nodejs_version=18
|
||||||
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
|
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}')
|
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}')
|
ed25519_key=$(ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key | awk '{print $2}')
|
||||||
|
|
Loading…
Reference in a new issue