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
6da09f268c
commit
1f305ad64f
1 changed files with 0 additions and 6 deletions
|
@ -34,12 +34,6 @@ create_dir() {
|
|||
mkdir -p "/var/log/$app"
|
||||
}
|
||||
|
||||
|
||||
config_gitea() {
|
||||
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
|
||||
ynh_add_config --template="app.ini" --destination="$final_path/custom/conf/app.ini"
|
||||
}
|
||||
|
||||
set_permission() {
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R $app:$app "$datadir"
|
||||
|
|
Loading…
Add table
Reference in a new issue