[Unit] Description=wa-cli: WhatsApp Web session (account %i) After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=%h/.local/bin/wa daemon start --foreground --account %i # If WhatsApp Web disconnects or Chrome dies, the daemon exits with 1 and is restarted. Restart=on-failure RestartSec=15 TimeoutStopSec=30 [Install] WantedBy=default.target