mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Fix
This commit is contained in:
parent
2cab12d161
commit
09f4e5819d
6 changed files with 12 additions and 18 deletions
|
@ -12,10 +12,10 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
#upgrade=1 from_commit=3
|
#upgrade=1 from_commit=
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=349992d4f3921e4e1adb37a0cace4a5a9eb67099
|
; commit=
|
||||||
name=First package version
|
name=
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gogs (Go Git Service)
|
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]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
0
doc/DESCRIPTION.md
Normal file
0
doc/DESCRIPTION.md
Normal file
0
doc/DISCLAIMER.md
Normal file
0
doc/DISCLAIMER.md
Normal file
|
@ -8,6 +8,13 @@
|
||||||
},
|
},
|
||||||
"version": "0.12.3~ynh1",
|
"version": "0.12.3~ynh1",
|
||||||
"url": "http://gogs.io",
|
"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",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "",
|
"name": "",
|
||||||
|
|
|
@ -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/avatars"
|
||||||
mkdir -p "/home/yunohost.app/$app/data/attachments"
|
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
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -201,9 +190,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||||
|
|
||||||
#set_access_settings
|
|
||||||
|
|
||||||
# Make app public if necessary or protect it
|
# Make app public if necessary or protect it
|
||||||
if [ $is_public -eq 1 ]
|
if [ $is_public -eq 1 ]
|
||||||
|
|
Loading…
Reference in a new issue