aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2020-01-08 07:59:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2020-01-08 07:59:56 +0000
commit12efc717040a081ab6be8168cdaa80d793375f8c (patch)
treec233c9c237fb1069e6efcff5d50851ac160f3b31
parent6fd3f214d0fd10c3dd813cf1b7709133b7c07ddd (diff)
downloadaports-12efc717040a081ab6be8168cdaa80d793375f8c.tar.bz2
aports-12efc717040a081ab6be8168cdaa80d793375f8c.tar.xz
main/msmtp: fix init script
fixes #11106
-rw-r--r--main/msmtp/APKBUILD4
-rwxr-xr-xmain/msmtp/msmtp.initd4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/msmtp/APKBUILD b/main/msmtp/APKBUILD
index f10770df77..16e2536e58 100644
--- a/main/msmtp/APKBUILD
+++ b/main/msmtp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=msmtp
pkgver=1.8.7
-pkgrel=0
+pkgrel=1
pkgdesc="SMTP client with a sendmail compatible interface"
url="https://marlam.de/msmtp/"
arch="all"
@@ -42,4 +42,4 @@ vim() {
sha512sums="5a079cb90b48853ad812125e8b341f5bcd5f5ba4725d62c37210050896527b63f993aa6393f1d4107636153bf0ed84b0288e88a7e78a119c66b2d58f1e69a67d msmtp-1.8.7.tar.xz
3839d7e8400cf897830c674f59563e225096d9755121d1ac14f3b493ab4cc0672228a9b14b9d9620d566593e2ae27d322a78c46791c6b5166ab82275d25dc0d3 msmtp.confd
-6845e1c5b1d31ade044dc5719a4d9602ea775e73ebd9084536a96165732f5a331f92384773131cda502befc673842ed2a418e38f33dceedaae18dbe452ef2353 msmtp.initd"
+0e1b32b07ccac6f5a174a1e317390815b459a4a7ca4f15672456ac0a30c89edb93001a8047c38d1f8da65b9f07a7b17b3270a0a07248a6be248500cd42773cef msmtp.initd"
diff --git a/main/msmtp/msmtp.initd b/main/msmtp/msmtp.initd
index 38ae4c336f..70b9940c40 100755
--- a/main/msmtp/msmtp.initd
+++ b/main/msmtp/msmtp.initd
@@ -5,6 +5,6 @@
: ${MSMTP_COMMAND:="/usr/bin/msmtp -f %F"}
pidfile="/var/run/${SVCNAME}"
-command="/usr/bin/${SVCNAME}"
-command_args="--interface=$MSMTP_INTERFACE --port=$MSMTP_PORT --command=$MSMTP_COMMAND "
+command="/usr/bin/msmtpd"
+command_args="--interface=$MSMTP_INTERFACE --port=$MSMTP_PORT --command='$MSMTP_COMMAND' "
command_background="yes"