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
6a707fc618
commit
780481758b
2 changed files with 3 additions and 3 deletions
|
@ -6,10 +6,10 @@ After=syslog.target network.target mysql.service slapd.service redis.service
|
|||
Type=simple
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=/home/yunohost.app/__APP__
|
||||
WorkingDirectory=__DATADIR__
|
||||
ExecStart=__FINALPATH__/gogs web
|
||||
Restart=always
|
||||
Environment=USER=__APP__ HOME=/home/yunohost.app/__APP__
|
||||
Environment=USER=__APP__ HOME=__DATADIR__
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -125,7 +125,7 @@ ynh_add_config --template="../conf/app.ini" --destination="$final_path/custom/co
|
|||
chmod 400 "$final_path/custom/conf/app.ini"
|
||||
chown $app:$app "$final_path/custom/conf/app.ini"
|
||||
|
||||
ynh_add_config --template="../conf/ldap.conf" --destination="$final_path/custom/conf/auth.d/ldap.conf"
|
||||
#ynh_add_config --template="../conf/ldap.conf" --destination="$final_path/custom/conf/auth.d/ldap.conf"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
|
|
Loading…
Add table
Reference in a new issue