1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nitter_ynh.git synced 2024-09-03 19:46:24 +02:00
This commit is contained in:
Éric Gaspar 2023-06-03 09:08:21 +02:00
parent af53238838
commit 1d42114945
2 changed files with 9 additions and 17 deletions

View file

@ -28,6 +28,15 @@ ynh_setup_source --dest_dir="$install_dir/nim-installation" --source_id="nim"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# SPECIFIC SETUP
#=================================================
# COMPILE NITTER
#=================================================
ynh_script_progression --message="Compiling Nitter..." --weight=30
build_nitter
#=================================================
# SYSTEM CONFIGURATION
#=================================================
@ -47,15 +56,6 @@ ynh_use_logrotate
yunohost service add $app --description="Alternative front-end for Twitter that respects your privacy" --log="/var/log/$app/$app.log"
#=================================================
# SPECIFIC SETUP
#=================================================
# COMPILE NITTER
#=================================================
ynh_script_progression --message="Compiling Nitter..." --weight=30
build_nitter
#=================================================
# ADD A CONFIGURATION
#=================================================

View file

@ -24,14 +24,6 @@ ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
# CREATE DEDICATED USER
#=================================================
#REMOVEME? ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1
# Create a dedicated user (if not existing)
#REMOVEME? ynh_system_user_create --username=$app --home_dir="$install_dir"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================