summary refs log tree commit diff
path: root/.local/share/navi/cheats/robertgzr__cheats/balena/misc.cheat
blob: ac0e63d95c7c694d80b3e39ff2309fb154ba8da3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% balena, mount

# remount rootfs writable
mount -o remount,rw /

# remount rootfs readonly
mount -o remount,ro /

% balena, journal

# engine + container logs
journalctl -fu balena -a

# engine logs only
journalctl -fu balena -t balenad

# supervisor logs
journalctl -fu resin-supervisor

# kernel logs
journalctl -fk

# last boot logs (needs persistent-logging)
journalctl -b -1 -r

% balena, edit systemd

# edit engine (dev)
vi /etc/systemd/system/balena.service.d/balena.conf

# edit engine
vi /etc/systemd/system/balena-engine.service