aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md62
1 files changed, 62 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9b9cc41
--- /dev/null
+++ b/README.md
@@ -0,0 +1,62 @@
+# 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.
+
+```bash
+git clone <this-repo>
+cd windscribe-openrc
+makepkg -si # interacts with pacman to fix dependencies, permission, etc.
+```
+
+## Usage
+
+```bash
+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:
+
+```bash
+# edit pkgver= in PKGBUILD, then refresh the checksum
+updpkgsums
+makepkg -si
+```
+
+## Uninstall
+
+```bash
+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.