1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreddit_ynh.git synced 2024-09-03 19:36:05 +02:00
This commit is contained in:
ericgaspar 2024-08-14 13:16:25 +02:00
parent 7c349e3ce0
commit 6b31d08a18
2 changed files with 2 additions and 8 deletions

View file

@ -8,7 +8,7 @@ User=__APP__
Group=__APP__ Group=__APP__
DynamicUser=yes DynamicUser=yes
EnvironmentFile=-__INSTALL_DIR__/.env EnvironmentFile=-__INSTALL_DIR__/.env
ExecStart=__INSTALL_DIR__/libreddit -a 127.0.0.1 -p __PORT__ --env-file .env ExecStart=__INSTALL_DIR__/redlib -a 127.0.0.1 -p __PORT__ --env-file .env
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View file

@ -9,12 +9,6 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# STANDARD UPGRADE STEPS # STANDARD UPGRADE STEPS
#================================================= #=================================================
@ -33,7 +27,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=5
ynh_setup_source --dest_dir="$install_dir" --keep=".env" ynh_setup_source --dest_dir="$install_dir" --keep=".env"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
chmod +x $install_dir/libreddit chmod +x $install_dir/redlib
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS