diff options
Diffstat (limited to 'net-misc/stunnel/files')
-rw-r--r-- | net-misc/stunnel/files/stunnel-r1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-misc/stunnel/files/stunnel-r1 b/net-misc/stunnel/files/stunnel-r1 index a73527ed57e7..11530eabe720 100644 --- a/net-misc/stunnel/files/stunnel-r1 +++ b/net-misc/stunnel/files/stunnel-r1 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 extra_started_commands="reload" @@ -38,7 +38,8 @@ start() { stop() { get_config || return 1 ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + start-stop-daemon --stop --quiet --exec /usr/bin/stunnel \ + --pidfile ${PIDFILE} eend $? "Failed to stop ${SVCNAME}" } |