]> git.parisson.com Git - telecaster-client.git/commitdiff
no nohup, increase sleep at startup to 3s
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 30 Jun 2021 10:44:12 +0000 (12:44 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 30 Jun 2021 10:44:12 +0000 (12:44 +0200)
telecaster/models.py

index 2bcb846f6e0d16c57053353053953d689de4c537..b51ce830403f467356d74c893cc1c726775c2b96 100644 (file)
@@ -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