From 65f15052dd1cffa011360e46f9facb2c7dd6d722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 27 Dec 2023 12:34:58 +0100 Subject: [PATCH] cleaning --- doc/POST_INSTALL.md | 1 + scripts/install | 3 +-- scripts/restore | 4 ---- tests.toml | 7 ++++++- 4 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 doc/POST_INSTALL.md diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md new file mode 100644 index 0000000..336c158 --- /dev/null +++ b/doc/POST_INSTALL.md @@ -0,0 +1 @@ +Your cjdns IPv6: __CJDNS_IPV6__ diff --git a/scripts/install b/scripts/install index cd4ee5c..9102671 100755 --- a/scripts/install +++ b/scripts/install @@ -67,7 +67,7 @@ do done cjdns_ipv6=$(jq -r '.ipv6' < $install_dir/cjdroute.conf) - +ynh_app_setting_set --app=$app --key=cjdns_ipv6 --value=$cjdns_ipv6 #================================================= # SETUP SYSTEMD @@ -96,7 +96,6 @@ ynh_script_progression --message="Launching cjdns service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" -ynh_script_progression --message="Your cjdns IPv6: $cjdns_ipv6" --weight=1 #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 6b548fe..6e509ca 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,9 +17,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -# $install_dir will automatically be initialized with some decent -# permissions by default ... however, you may need to recursively reapply -# ownership to all files such as after the ynh_setup_source step chown -R $app:www-data "$install_dir" #================================================= @@ -45,7 +42,6 @@ yunohost service add $app --description="$app service" --log="/var/log/$app/$app # GENERIC FINALIZATION #================================================= -# Typically you only have either $app or php-fpm but not both at the same time... ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #================================================= diff --git a/tests.toml b/tests.toml index 91daf17..ee11dba 100644 --- a/tests.toml +++ b/tests.toml @@ -4,4 +4,9 @@ test_format = 1.0 # ------------ # Tests to run - # ------------ \ No newline at end of file + # ------------ + + 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 + # NB: you should NOT need this except if you really have a good reason... + +