From: Guillaume Pellerin Date: Wed, 30 Jun 2021 10:44:12 +0000 (+0200) Subject: no nohup, increase sleep at startup to 3s X-Git-Tag: 0.9~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=95409ee4b534ce3e42a8c8aa9fe540f9b5a682e8;p=telecaster-client.git no nohup, increase sleep at startup to 3s --- diff --git a/telecaster/models.py b/telecaster/models.py index 2bcb846..b51ce83 100644 --- a/telecaster/models.py +++ b/telecaster/models.py @@ -188,9 +188,9 @@ class Station(Model): conf_file.close() def deefuzzer_start(self): - command = 'nohup /usr/local/bin/deefuzzer ' + self.deefuzzer_file.path + ' &' + command = '/usr/local/bin/deefuzzer ' + self.deefuzzer_file.path + ' &' os.system(command) - time.sleep(0.5) + time.sleep(3) pid = get_pid('deefuzzer', args=self.deefuzzer_file.path) if pid: self.pid = pid