1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/beehive_ynh.git synced 2024-09-03 18:06:24 +02:00

Add logrotate in install and added path in upgrade

This commit is contained in:
anmol26s 2021-03-08 04:10:28 +05:30
parent 57d7f2cde6
commit b14282e322
2 changed files with 9 additions and 0 deletions

View file

@ -134,6 +134,13 @@ ynh_add_systemd_config --service="$app" --template="systemd.service" --others_va
chown -R $app: $final_path
#=================================================
# SETUP LOGROTATE
#=================================================
ynh_script_progression --message="Configuring log rotation..." --weight=1
ynh_use_logrotate
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================

View file

@ -79,6 +79,8 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/usr/local/go/bin
pushd "$final_path"
git pull
make