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-26 12:10:08 +01:00
parent 6a707fc618
commit 780481758b
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 3 deletions

View file

@ -6,10 +6,10 @@ After=syslog.target network.target mysql.service slapd.service redis.service
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=/home/yunohost.app/__APP__ WorkingDirectory=__DATADIR__
ExecStart=__FINALPATH__/gogs web ExecStart=__FINALPATH__/gogs web
Restart=always Restart=always
Environment=USER=__APP__ HOME=/home/yunohost.app/__APP__ Environment=USER=__APP__ HOME=__DATADIR__
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View file

@ -125,7 +125,7 @@ ynh_add_config --template="../conf/app.ini" --destination="$final_path/custom/co
chmod 400 "$final_path/custom/conf/app.ini" chmod 400 "$final_path/custom/conf/app.ini"
chown $app:$app "$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 # GENERIC FINALISATION