mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Fix
This commit is contained in:
parent
6dd56193c8
commit
7b2328c7e2
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ SSH_PORT = __SSH_PORT__
|
|||
;SSH_LISTEN_PORT = %(SSH_PORT)s
|
||||
;;
|
||||
;; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
|
||||
SSH_ROOT_PATH =__DATADIR__/.ssh
|
||||
;SSH_ROOT_PATH =__DATADIR__/.ssh
|
||||
;;
|
||||
;; Gitea will create a authorized_keys file by default when it is not using the internal ssh server
|
||||
;; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off.
|
||||
|
|
|
@ -145,7 +145,7 @@ chmod +x "$final_path/gitea"
|
|||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
|
||||
ynh_add_config --template="../conf/app.ini" --destination="$final_path/custom/conf/app.ini"
|
||||
ynh_add_config --template="../conf/app.ini" --destination="$final_path/custom/conf/app.ini" > /dev/null
|
||||
|
||||
chmod 640 "$final_path/custom/conf/app.ini"
|
||||
chown $app:$app "$final_path/custom/conf/app.ini"
|
||||
|
|
Loading…
Add table
Reference in a new issue