#!/sbin/runscript # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ command="smtpd" start_stop_daemon_args="--pidfile=/run/smtpd.pid" description="SMTP daemon from OpenBSD" depend() { need net } stop() { ebegin "Stopping smtpd" smtpctl stop eend $? }