1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/sbin/openrc-run # 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 $? }