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 08:02:32 +0000
commit714f6a3d2f4b927a09ba55bf0662494272b17e6f (patch)
tree49558f8bea145366f0acde557810478f893481d1
parent34d72ac2bffab1d89f579a3fb2b0529a9739b2c6 (diff)
downloadaports-714f6a3d2f4b927a09ba55bf0662494272b17e6f.tar.gz
aports-714f6a3d2f4b927a09ba55bf0662494272b17e6f.tar.bz2
aports-714f6a3d2f4b927a09ba55bf0662494272b17e6f.tar.xz
main/msmtp: fix init script
fixes #11106
-rw-r--r--main/msmtp/APKBUILD2
-rwxr-xr-xmain/msmtp/msmtp.initd4
2 files changed, 3 insertions, 3 deletions
diff --git a/main/msmtp/APKBUILD b/main/msmtp/APKBUILD
index 0192560f06..619233766a 100644
--- a/main/msmtp/APKBUILD
+++ b/main/msmtp/APKBUILD
@@ -42,4 +42,4 @@ vim() {
sha512sums="9d3dd282ddfe2d67b67bb6d29412beebcd666d4ab8e90a664b7dd4b951714da0e3adba72dbe165617b1a170779bcd45e2e7bcf54d1d96fa97089686e71cbea66 msmtp-1.8.6.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"