aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-01-08 14:05:36 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-01-08 14:05:53 +0100
commit4963e78fd5cb5547850859c2cb0ac524f992bb4d (patch)
tree8eb4bfa8450cb139d45f301cdad99fb3a3c3c82f
parent0d607d00fb2ac1eef31e5b392636714cd2d378f7 (diff)
downloadaports-4963e78fd5cb5547850859c2cb0ac524f992bb4d.tar.gz
aports-4963e78fd5cb5547850859c2cb0ac524f992bb4d.tar.bz2
aports-4963e78fd5cb5547850859c2cb0ac524f992bb4d.tar.xz
community/hitch: fix init script
I forgot that $name is not defined by default.
-rw-r--r--community/hitch/APKBUILD4
-rw-r--r--community/hitch/hitch.initd1
2 files changed, 3 insertions, 2 deletions
diff --git a/community/hitch/APKBUILD b/community/hitch/APKBUILD
index c89e71d49a..21aa5d28bb 100644
--- a/community/hitch/APKBUILD
+++ b/community/hitch/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Raphael Cohn <raphael.cohn@stormmq.com>
pkgname=hitch
pkgver=1.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="hitch is a TLS / SSL endpoint like stunnel"
url="https://hitch-tls.org/"
arch="all"
@@ -42,6 +42,6 @@ package() {
}
sha512sums="8e4a78d600775fa9e35c1b40fb1a469c6fbc2b44f41df29f754c7c188f109c551525aae2e804b503618046be25aeda6ceb66130a151ca5691e148b6775b2826c hitch-1.6.1.tar.gz
-bfbb65831ab0f6814caf7968af87f408d9865b67d4d60ff542cafc81567d86e45a1c07247fa59b0f1607e74c4596ee707a53e98fbdb84dcb4a2d2d48c4a43ccc hitch.initd
+afc98a8422199c1c64eeab10e718b71af419f5d4bad692d1e23f539f75d6dcb5efe6dbee21517854254a57075ad8273760602f5cb2f0dbcd00fa1d877ea4ce63 hitch.initd
fee3910d0a3d5b6b34712bfc9a4f56ae316c974ea28991ca2466ed372802e564eee82f6e8af87e73597f66a8f1d2bc0e1a303164e1db51ce90c4bbb68ea6f2da hitch.confd
c2db10a0fec44958f9e3056b013743b4f6c4d0aa21e030120bf7e2f9a3941e276ca1f85ab2a1c051ac17aacd857cae13f308f4d192edc61b2322ab9dbe99f99c hitch.conf"
diff --git a/community/hitch/hitch.initd b/community/hitch/hitch.initd
index 7d6c4494df..0a2e3a8c42 100644
--- a/community/hitch/hitch.initd
+++ b/community/hitch/hitch.initd
@@ -6,6 +6,7 @@ description="A scalable TLS proxy"
description_checkconfig="Verify configuration file"
description_reload="Reload configuration"
+: ${name:=$RC_SVCNAME}
# $HITCH_CONFIGFILE is here for backward compatibility only
: ${cfgfile:=${HITCH_CONFIGFILE:-"/etc/hitch/${RC_SVCNAME#hitch.}.conf"}}