Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-01 15:12:11 +02:00
parent b306948ba4
commit 92ed5468c8
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,7 @@ Wants=network.target
Type=simple Type=simple
ExecStart=/usr/bin/bettercap-launcher ExecStart=/usr/bin/bettercap-launcher
Restart=always Restart=always
RestartSec=5 RestartSec=30
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -101,7 +101,6 @@ class Client(object):
logging.warning('[bettercap] connection to the bettercap endpoint failed...') logging.warning('[bettercap] connection to the bettercap endpoint failed...')
pwnagotchi.reboot() pwnagotchi.reboot()
def run(self, command, verbose_errors=True): def run(self, command, verbose_errors=True):
while True: while True:
try: try: