mirror of
https://github.com/YunoHost-Apps/cjdns_ynh.git
synced 2024-09-03 18:16:29 +02:00
cleaning
This commit is contained in:
parent
d57bbb7a65
commit
65f15052dd
4 changed files with 8 additions and 7 deletions
1
doc/POST_INSTALL.md
Normal file
1
doc/POST_INSTALL.md
Normal file
|
@ -0,0 +1 @@
|
|||
Your cjdns IPv6: __CJDNS_IPV6__
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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...
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue