aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarsha Kuchampudi2017-11-17 09:24:34 -0500
committerHarsha Kuchampudi2017-11-17 09:24:34 -0500
commitb36c9562b1e949032f34211da06cba78c63101db (patch)
tree488d304125ad76c200fa3bfee4029c43cf0de14b
parent6e5ca7bccd3b432260bdbc030ec216fa7b6eab01 (diff)
downloadaur-b36c9562b1e949032f34211da06cba78c63101db.tar.gz
Fixed systemd service by including ExecStop parameter which should prevent the system from hanging on some instances during shutdowns and reboots
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 476dace12a2f..9eae8bb2179a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Harsha Kuchampudi <harshakuchampudi@gmail.com>
pkgname=windscribe-cli
pkgver=1.0
-pkgrel=3
+pkgrel=4
pkgdesc="Port of Windscribe's VPN command line interface"
arch=('any')
url="https://windscribe.com/"
@@ -32,7 +32,10 @@ package() {
[Service]
Type=simple
ExecStart=/usr/bin/windscribe start
+ ExecStop=/usr/bin/windscribe stop
Restart=on-failure
+ KillMode=control-group
+ SuccessExitStatus=SIGKILL
PIDFile=/etc/windscribe/windscribe.pid
[Install]