1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00
This commit is contained in:
ericgaspar 2021-11-07 10:32:50 +01:00
parent 2cab12d161
commit 09f4e5819d
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 12 additions and 18 deletions

View file

@ -12,10 +12,10 @@
setup_private=1
setup_public=1
upgrade=1
#upgrade=1 from_commit=3
#upgrade=1 from_commit=
backup_restore=1
multi_instance=1
change_url=1
;;; Upgrade options
; commit=349992d4f3921e4e1adb37a0cace4a5a9eb67099
name=First package version
; commit=
name=

View file

@ -1,6 +1,6 @@
[Unit]
Description=Gogs (Go Git Service)
After=syslog.target network.target mysql.service slapd.service
After=syslog.target network.target mysql.service slapd.service redis.service
[Service]
Type=simple

0
doc/DESCRIPTION.md Normal file
View file

0
doc/DISCLAIMER.md Normal file
View file

View file

@ -8,6 +8,13 @@
},
"version": "0.12.3~ynh1",
"url": "http://gogs.io",
"upstream": {
"license": "MIT",
"website": "http://gogs.io",
"demo": "https://try.gogs.io/user/login",
"admindoc": "https://gogs.io/docs",
"code": "https://github.com/gogs/gogs"
},
"license": "MIT",
"maintainer": {
"name": "",

View file

@ -114,17 +114,6 @@ mkdir -p "$final_path/custom/conf/auth.d"
mkdir -p "/home/yunohost.app/$app/data/avatars"
mkdir -p "/home/yunohost.app/$app/data/attachments"
#=================================================
# STANDARD MODIFICATIONS
#=================================================
# # Add users
# # We can't use the official helper because we need to set the shell for the login
# test getent passwd "$app" &>/dev/null || \
# useradd -d "/home/$app" --system --user-group "$app" --shell /bin/bash || \
# ynh_die "Unable to create $app system account"
#=================================================
# MODIFY A CONFIG FILE
#=================================================
@ -201,9 +190,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring SSOwat..." --weight=1
#set_access_settings
ynh_script_progression --message="Configuring permissions..." --weight=1
# Make app public if necessary or protect it
if [ $is_public -eq 1 ]