Tool: portcheck 1.5 · 210 KB · 11 Aug 2011 · md5 9f27fa4ee904 · licence per site · 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.

portcheck 1.5

210 KB · 11 Aug 2011 · md5 9f27fa4ee904 · licence per site · shelf 4

linuxmacosfreewarewrites services

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

portcheck 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 210 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 portcheck-1.5-linux-x64.tar.gz
md5 portcheck-1.5-macos.tar.gz

Expected: 9f27fa4ee904. 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 portcheck-1.5-linux-x64.tar.gz -C /opt
sudo ln -sf /opt/portcheck/portcheck /usr/local/bin/portcheck
portcheck --version

macOS

Unpack it and link it onto the path:

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

Check it worked

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

portcheck --version
portcheck 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/portcheck /usr/local/bin/portcheck
sudo rm -rf /opt/portcheck /usr/local/bin/portcheck

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.