mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Update _common.sh
This commit is contained in:
parent
1704d39259
commit
7852cbca97
1 changed files with 0 additions and 7 deletions
|
@ -34,13 +34,6 @@ create_dir() {
|
|||
mkdir -p "/var/log/$app"
|
||||
}
|
||||
|
||||
config_nginx() {
|
||||
if [ "$path_url" != "/" ]
|
||||
then
|
||||
ynh_replace_string --match_string "^#sub_path_only" --replace_string "" --target_file "../conf/nginx.conf"
|
||||
fi
|
||||
ynh_add_nginx_config
|
||||
}
|
||||
|
||||
config_gitea() {
|
||||
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
|
||||
|
|
Loading…
Add table
Reference in a new issue