1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nomad_ynh.git synced 2024-09-03 19:55:53 +02:00

Merge branch 'testing' into improving

This commit is contained in:
yalh76 2022-07-23 15:57:35 +02:00
commit efc3885fa1
2 changed files with 5 additions and 1 deletions

View file

@ -102,7 +102,10 @@ ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies # Remove metapackage and its dependencies
ynh_remove_app_dependencies ynh_remove_app_dependencies
if [ "$node_type" == "client" ]
then
ynh_remove_go ynh_remove_go
fi
#================================================= #=================================================
# REMOVE DATA DIR # REMOVE DATA DIR

1
scripts/restore Executable file → Normal file
View file

@ -130,6 +130,7 @@ then
if [ ! ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if [ ! ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
ynh_add_config --template="../conf/lxc-net" --destination="/etc/default/lxc-net" ynh_add_config --template="../conf/lxc-net" --destination="/etc/default/lxc-net"
fi fi
ynh_secure_remove --file="/etc/lxc/default.conf"
ynh_add_config --template="../conf/default.conf" --destination="/etc/lxc/default.conf" ynh_add_config --template="../conf/default.conf" --destination="/etc/lxc/default.conf"
systemctl enable lxc-net --quiet systemctl enable lxc-net --quiet
ynh_systemd_action --service_name=lxc-net --action="restart" --line_match="Started LXC network bridge" --log_path="systemd" ynh_systemd_action --service_name=lxc-net --action="restart" --line_match="Started LXC network bridge" --log_path="systemd"