aboutsummaryrefslogtreecommitdiff

Windscribe for OpenRC

Make windscribe linux client use openrc instead of systemd.

This downloads the upstream release, removes systemd, and then puts these:

  • /etc/init.d/windscribe-helper - openrc windscribe helper daemon’s service
  • /opt/windscribe/systemctl - translates systemd calls and such to openrc
  • /usr/bin/windscribe-cli - symlink to CLI binary

Upon install, the package also creates the windscribe user and group, enables and starts windscribe-helper at default priority, and sets the proper group id on the GUI binary so it can talk to the helper.

Install

Install base-devel and sudo if not already installed.

git clone <this-repo>
cd windscribe-openrc
makepkg -si # interacts with pacman to fix dependencies, permission, etc.

Usage

rc-service windscribe-helper status   # check the helper daemon
Windscribe                            # start the GUI
windscribe-cli login                  # log into the CLI
windscribe-cli connect                # connect using the CLI

The helper auto-starts at boot once enabled at default runlevel.

Upgrade

The upstream version is pinned by pkgver and the sha1sums in PKGBUILD, so both must be updated together for a new release:

# edit pkgver= in PKGBUILD, then refresh the checksum
updpkgsums
makepkg -si

Uninstall

sudo pacman -Rns windscribe-openrc

Removal stops the helper, removes it from runlevel, resets MAC addresses the helper changed, deletes the windscribe user, group, and configuration directories.

And

  • systemctl “shim” is only symlinked into /usr/local/bin when no real systemctl exists on system.
  • options=('!strip') is intentional as the upstream bin is already stripped and stripping it again will break it.