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

Merge pull request #33 from YunoHost-Apps/fix_remove

try fixups
This commit is contained in:
Salamandar 2024-02-14 14:13:45 +01:00 committed by GitHub
commit 257cadb3e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
ynh_exec_warn_less nomad node drain -self -enable ynh_exec_warn_less timeout 25 nomad node drain -self -enable -yes -deadline 20s
# Remove the dedicated systemd config # Remove the dedicated systemd config
ynh_remove_systemd_config ynh_remove_systemd_config
@ -81,7 +81,7 @@ fi
if [ "$node_type" == "client" ] if [ "$node_type" == "client" ]
then then
if [ $driver_lxc -eq 1 ] if [ $driver_lxc -eq 1 ]
then then
client_lxc_bridge=$(ynh_app_setting_get --app=$app --key=client_lxc_bridge) client_lxc_bridge=$(ynh_app_setting_get --app=$app --key=client_lxc_bridge)