1
0
Fork 0
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:
Éric Gaspar 2022-07-23 10:06:42 +02:00
parent 6da09f268c
commit 1f305ad64f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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"