mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Use yunohost cmd to retrive ssh port
This commit is contained in:
parent
035adcf134
commit
f1fc562143
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
#=================================================
|
||||
|
||||
systemd_match_start_line='Starting new Web server: tcp:127.0.0.1:'
|
||||
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
|
||||
ssh_port=$(yunohost settings get security.ssh.ssh_port)
|
||||
|
||||
#=================================================
|
||||
# DEFINE ALL COMMON FONCTIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue