diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-11 14:29:54 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-11 14:29:54 +0000 |
commit | f9a8dfcd51e481a49355d94a3e74f2762519378f (patch) | |
tree | 948f0382081bd2eb8b1b5458a9661b67a090e795 /templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail | |
parent | fef31cbc9988ead081aaec587222b44ed524b6fd (diff) | |
download | simplepkg-f9a8dfcd51e481a49355d94a3e74f2762519378f.tar.gz simplepkg-f9a8dfcd51e481a49355d94a3e74f2762519378f.tar.bz2 |
changed repository layout to trunk/, tags/ and branches/ scheme
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@181 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail')
-rw-r--r-- | templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail b/templates/vserver-legacy/vserver-legacy.d/etc/rc.d/rc.sendmail deleted file mode 100644 index 1a31c52..0000000 --- a/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 |