Tool: driftsync 4.2 · 168 KB · 28 Jun 2014 · md5 c582c82d7ed8 · last build, keep · back to its row on the shelf

← Shelf

Placeholder page. These are the standard install steps, kept in the shape this shelf uses so nobody has to invent them twice. Anything in [brackets] is a value nobody has written down yet.

driftsync 4.2

168 KB · 28 Jun 2014 · md5 c582c82d7ed8 · last build, keep · shelf 4

linuxmacosfreewarewrites services

Rebuilds the systemd unit or launchd plist when it points at a stale path.

driftsync rebuild --service [app]
12 components registered, 0 failures

Note from the shelf row: prints the old unit before replacing it

Before you install

  • Runs on: Linux, macOS. the application must be 4.0.7 to 4.1.6.
  • Space: about 168 KB for the download, plus [WORKING SPACE] while it runs.
  • Rights: an elevated prompt (it writes outside your profile)
  • Know first: [PREREQUISITE] — what has to be true before this tool will run at all.

Download and verify

Take the build for your platform from the [SHARE] and check it against the digest on the shelf row before you unpack anything.

md5sum driftsync-4.2-linux-x64.tar.gz
md5 driftsync-4.2-macos.tar.gz

Expected: c582c82d7ed8. The shelf row carries the same digest.

Install

Copy it into place and put it on the path. Nothing here installs a service or a scheduled task.

Linux

Unpack it and link it onto the path:

sudo tar -xzf driftsync-4.2-linux-x64.tar.gz -C /opt
sudo ln -sf /opt/driftsync/driftsync /usr/local/bin/driftsync
driftsync --version

macOS

Unpack it and link it onto the path:

sudo tar -xzf driftsync-4.2-macos.tar.gz -C /opt
sudo ln -sf /opt/driftsync/driftsync /usr/local/bin/driftsync
driftsync --version

Check it worked

Check the version first, then run the one command the tool exists for:

driftsync --version
driftsync rebuild --service [app]
12 components registered, 0 failures

Expected output is the line shown above; anything else means [TO DO: write the failure list].

Removing it

Delete the folder and drop the path entry. The tool keeps no state of its own.

sudo rm -rf /opt/driftsync /usr/local/bin/driftsync
sudo rm -rf /opt/driftsync /usr/local/bin/driftsync

If it goes wrong

  • [KNOWN FAILURE 1] — the usual fixes for this tool have not been written down yet. Add them the second time somebody hits one.
  • Wrong error number or a fault you cannot name: run the tool's own diagnostic first (shelf row).
  • Before any repair that writes to a store, take the export — backoff is the tool for it.