Skip to content

Instantly share code, notes, and snippets.

@jadonk
Created April 5, 2022 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadonk/18dff9fb896b71b02e82095d3add2547 to your computer and use it in GitHub Desktop.
Save jadonk/18dff9fb896b71b02e82095d3add2547 to your computer and use it in GitHub Desktop.
# /etc/systemd/system/barrier.service
[Unit]
Description=Barrier Client daemon
After=display-manager.service network.target
[Service]
Environment="XAUTHORITY=/home/debian/.Xauthority"
User=debian
Group=debian
ExecStart=barrierc --name AI64 --disable-crypto --debug INFO -f 192.168.0.22
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target
// /etc/docker/daemon.json
{
"data-root": "/opt/sandisk/docker"
}
# /etc/fstab: static file system information.
#
/dev/mmcblk0p2 / ext4 noatime,errors=remount-ro 0 1
/dev/mmcblk0p1 /boot/firmware vfat defaults 0 0
debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults 0 0
UUID=421a6bb7-ca9b-4ce1-90f2-0c1d65c2dacd /opt/sandisk ext4 defaults 0 2
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment