initial commit

This commit is contained in:
erik 2025-05-19 16:57:24 +02:00
commit e5b26a1301
4 changed files with 41 additions and 0 deletions

24
PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: Erik erik@pixeloasis.eu
pkgname=windscribe-cli-runit
pkgver=1.0.0
pkgrel=1
arch=('x86_64')
pkgdesc="Windscribe VPN service for runit"
url="https://windscribe.com"
license=('none')
depends=()
source=()
sha256sums=() #
package() {
# create the runit dirs
install -d "$pkgdir"/etc/sv/windscribe-helper/log \
"$pkgdir"/var/log/windscribe-helper
# install the helpers run scripts
install -m755 "$srcdir"/windscribe-helper/run \
"$pkgdir"/etc/sv/windscribe-helper/run
install -m755 "$srcdir"/windscribe-helper/log/run \
"$pkgdir"/etc/sv/windscribe-helper/log/run
}

8
README Normal file
View file

@ -0,0 +1,8 @@
# Runit service for windscribe tested on aritx linux
## Installation
git clone https://git.pixeloasis.eu/Erik/windscribe-cli-runit.git
cd windscribe-cli-runit
makepkg -si
ln -s /etc/sv/windscribe-helper /run/runit/service/

View file

@ -0,0 +1,4 @@
#!/bin/sh
# /etc/sv/windscribe-helper/log/run
exec svlogd -tt /var/log/windscribe-helper

View file

@ -0,0 +1,5 @@
#!/bin/sh
# /etc/sv/windscribe-helper/run
exec 2>&1 # stderr→stdout
exec chpst -u root:root /opt/windscribe/helper