Install Syncthing on a Steam Deck in the user's home directory, using a SystemD user service.
Find a file
Bill Niblock 4076768eec Version 0.0.2
- Rename script to correspond with repository name
- Bring in to compliance with `shellcheck`
- Add some output explaining what script is doing
- Add new options:
  - `--no-systemd` will not perform any Systemd steps
  - `--no-enable` will not enable the Systemd service
  - `--no-start` will not start the Systemd service
  - `--no-binary` will not install the Syncthing binary
2022-07-10 14:06:21 -04:00
README.md Initialize 2022-07-09 23:16:04 -04:00
steam-deck-syntching-setup.sh Version 0.0.2 2022-07-10 14:06:21 -04:00

Syncthing Deck Setup

This script will download a Syncthing build and install it in the user's home directory. This allows a user to run Syncthing using a SystemD user service, and keep all necessary files within their home directory. In scenarios where the traditional directory for installed packages may be overwritten (ie., the Steam Deck's filesystem), this allows Syncthing to persist through updates, and still run automatically in the background when the Deck is started. There is no GUI provided for Syncthing when installed this way. Instead, use the web-UI available at localhost:8384.

Requirements

  • bash
  • curl
  • tar

Usage

Run the script. Optionally include a version, a platform, and an architecture. Acceptable values can be found on the Syncthing Releases page.

Usage: syncthing-deck-setup [<options>]

    -V, --version   Specify a Syncthing Version. Default is latest.
   -P, --platform   Specify an OS/Platform. Default is linux.
       -A, --arch   Specify an architecture. Default is amd64.
  -U, --uninstall   Remove files setup with this script.
               -v   Show version
               -h   Show this usage

Contact

If you're interested in discussing this project, you can speak with me on Matrix! I'm Vagabond.

Licenses / Copyrights/ Bureaucracy

All code is Unlicensed.