1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cjdns_ynh.git synced 2024-09-03 18:16:29 +02:00
This commit is contained in:
Éric Gaspar 2023-12-27 12:34:58 +01:00
parent d57bbb7a65
commit 65f15052dd
4 changed files with 8 additions and 7 deletions

1
doc/POST_INSTALL.md Normal file
View file

@ -0,0 +1 @@
Your cjdns IPv6: __CJDNS_IPV6__

View file

@ -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

View file

@ -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"
#=================================================

View file

@ -4,4 +4,9 @@ test_format = 1.0
# ------------
# Tests to run
# ------------
# ------------
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...