mirror of
				https://framagit.org/YunoHost-Apps/gitea_ynh.git
				synced 2025-10-30 05:15:30 +01:00 
			
		
		
		
	Use yunohost cmd to retrive ssh port
This commit is contained in:
		| @@ -3,7 +3,7 @@ | |||||||
| #================================================= | #================================================= | ||||||
|  |  | ||||||
| systemd_match_start_line='Starting new Web server: tcp:127.0.0.1:' | 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 | # DEFINE ALL COMMON FONCTIONS | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Josué Tille
					Josué Tille