mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
be closer to mastodon_ynh
This commit is contained in:
parent
fa4be8e1e2
commit
4fc51b2572
5 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
# This is a system cron file, see crontab(5)
|
||||||
|
# m h dom mon dow user command
|
||||||
@daily __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
|
@daily __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
|
||||||
@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
|
@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
|
||||||
@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
|
@monthly __APP__ cd __INSTALL_DIR__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
|
||||||
|
|
|
@ -45,7 +45,7 @@ ram.runtime = "1G"
|
||||||
[install.language]
|
[install.language]
|
||||||
ask.en = "Choose the application language"
|
ask.en = "Choose the application language"
|
||||||
ask.fr = "Choisissez la langue de l'application"
|
ask.fr = "Choisissez la langue de l'application"
|
||||||
type = "string"
|
type = "select"
|
||||||
choices = ["en_EN", "fr_FR"]
|
choices = ["en_EN", "fr_FR"]
|
||||||
default = "fr_FR"
|
default = "fr_FR"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ source ynh_install_ruby__2
|
||||||
source ynh_add_swap
|
source ynh_add_swap
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
admin_mail=$(ynh_user_get_info $admin 'mail')
|
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
|
||||||
# Initialize config_panel settings :<
|
# Initialize config_panel settings :<
|
||||||
max_toot_chars="500"
|
max_toot_chars="500"
|
||||||
|
@ -197,4 +197,4 @@ ynh_systemd_action --service_name=${app}-streaming --action="start" --log_path=/
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Installation of $app completed" --weight=1
|
ynh_script_progression --message="Installation of $app completed" --last
|
||||||
|
|
|
@ -7,10 +7,12 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
source _common.sh
|
source _common.sh
|
||||||
|
source ynh_install_ruby__2
|
||||||
|
source ynh_add_swap
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
config="$install_dir/live/.env.production"
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
config="$install_dir/live/.env.production"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD UPGRADE STEPS
|
# STANDARD UPGRADE STEPS
|
||||||
|
|
|
@ -6,7 +6,7 @@ test_format = 1.0
|
||||||
# Tests to run
|
# Tests to run
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
exclude = ["install.subdir", "install.nourl", "install.multi", "change_url"]
|
exclude = ["install.multi", "change_url"]
|
||||||
# The test IDs to be used in only/exclude statements are: install.root, install.subdir, install.nourl, install.multi, backup_restore, upgrade, upgrade.someCommitId change_url
|
# The test IDs to be used in only/exclude statements are: install.root, install.subdir, install.nourl, install.multi, backup_restore, upgrade, upgrade.someCommitId change_url
|
||||||
# NB: you should NOT need this except if you really have a good reason...
|
# NB: you should NOT need this except if you really have a good reason...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue