aboutsummaryrefslogtreecommitdiff
path: root/branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 02:03:53 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 02:03:53 +0000
commit52a3537b8ebca3a5146cf363ffa6d716f2b00da0 (patch)
treeba684cac72fd8e2147f13d7c27d5a61d6133a444 /branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail
parentf93c3531707ac292b2d43f00c9a600d1ecdbb76d (diff)
downloadsimplepkg-52a3537b8ebca3a5146cf363ffa6d716f2b00da0.tar.gz
simplepkg-52a3537b8ebca3a5146cf363ffa6d716f2b00da0.tar.bz2
removing old 0.6 branch
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@798 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail')
-rw-r--r--branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail38
1 files changed, 0 insertions, 38 deletions
diff --git a/branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail b/branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail
deleted file mode 100644
index 1a31c52..0000000
--- a/branches/0.6/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-# Start/stop/restart sendmail.
-
-# Start sendmail:
-sendmail_start() {
- if [ -x /usr/sbin/sendmail ]; then
- echo "Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m"
- /usr/sbin/sendmail -L sm-mta -bd -q25m
- echo "Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m"
- /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
- fi
-}
-
-# Stop sendmail:
-sendmail_stop() {
- killall sendmail
-}
-
-# Restart sendmail:
-sendmail_restart() {
- sendmail_stop
- sleep 1
- sendmail_start
-}
-
-case "$1" in
-'start')
- sendmail_start
- ;;
-'stop')
- sendmail_stop
- ;;
-'restart')
- sendmail_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac