Fixes in mariadb module

This commit is contained in:
Antonio de la Rosa 2024-02-15 22:31:08 +01:00
parent ff81d2aa8d
commit 1a20fdd944
3 changed files with 8 additions and 5 deletions

View file

@ -41,7 +41,7 @@ class ServerTask(Task):
arr_group=server_group.set_conditions('WHERE id=%s', [self.data['group_id']]).select_a_row_where()
self.data['group_name']=arr_group['code_group']
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_monit_stats.py', '--user='+ssh_user+' --url_stats='+url_stats+' --group="'+self.data['group_name']+'"', 'sudo'])
self.commands_to_execute.append(['/home/'+ssh_user+'/pythonenv/bin/python3 modules/pastafari2/scripts/system/install_monit_stats.py', '--user='+ssh_user+' --url_stats='+url_stats+' --group="'+self.data['group_name']+'"', 'sudo'])
return True