Remove clear on exit, invokes an extra restart at boot

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-06-06 13:43:59 +02:00
parent 1614d1f94d
commit 318e3480ce
2 changed files with 0 additions and 3 deletions

View File

@ -8,7 +8,6 @@ After=pwngrid-peer.service
Type=simple
WorkingDirectory=~
ExecStart=/usr/bin/pwnagotchi-launcher
ExecStopPost=/usr/bin/bash -c "if egrep -qi 'personality.clear_on_exit[ =]*true' /etc/pwnagotchi/config.toml ; then /usr/local/bin/pwnagotchi --clear; fi"
Restart=always
RestartSec=30
TasksMax=infinity