Skip to content

Instantly share code, notes, and snippets.

@AKRFranko
Created November 8, 2017 02:41
Show Gist options
  • Save AKRFranko/d61f276b29f716468c067d67e73e3600 to your computer and use it in GitHub Desktop.
Save AKRFranko/d61f276b29f716468c067d67e73e3600 to your computer and use it in GitHub Desktop.
cd /srv/google-sheets-service
GOOGLE_SERVICE_ACCOUNT_KEY_PATH=/etc/podlegal/google-service-account-key.json node setup.js
cd /root/sources/arch-scripts
start-services.sh
@AKRFranko
Copy link
Author

and of course...

journalctl -xaf # all output tail -f style
journalctl -xn 1000 # last 1000 lines of output
journalctl -xn 1000 --no-pager # last 1000 lines of output wrapped (not truncated)

@AKRFranko
Copy link
Author

AKRFranko commented Nov 8, 2017

see redis live action.

redis-cli
>subscribe flow-log
ctrl-c to quit

@AKRFranko
Copy link
Author

need the l33t redis flush & debug rundown?

The Ugly

redis-cli flushall # means you have to re-run above setup script. (and new podlegal folder gets created)

The Bad

stop services
redis-cli # open cli
>keys * # list keys
>del <key> # deletes offending key
start/re-enable services...

The Good

reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment