initial commit
This commit is contained in:
commit
e5b26a1301
4 changed files with 41 additions and 0 deletions
24
PKGBUILD
Normal file
24
PKGBUILD
Normal 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 helper’s 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
8
README
Normal 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/
|
||||||
|
|
4
src/windscribe-helper/log/run
Normal file
4
src/windscribe-helper/log/run
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# /etc/sv/windscribe-helper/log/run
|
||||||
|
exec svlogd -tt /var/log/windscribe-helper
|
||||||
|
|
5
src/windscribe-helper/run
Normal file
5
src/windscribe-helper/run
Normal 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue