summaryrefslogtreecommitdiff
path: root/scripts/proxsmtpd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/proxsmtpd.sh')
-rw-r--r--scripts/proxsmtpd.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/scripts/proxsmtpd.sh b/scripts/proxsmtpd.sh
deleted file mode 100644
index fcc3493..0000000
--- a/scripts/proxsmtpd.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-###########################################################################
-# CONFIGURATION
-
-# Most configuration options are found in the proxsmtpd.conf file.
-# For more info see:
-# man proxsmtpd.conf
-
-# The prefix proxsmtpd was installed to
-prefix=/usr/local/
-
-# The location for pid file
-piddir=/var/run/
-
-###########################################################################
-# SCRIPT
-
-case $1 in
-start)
- mkdir -p $piddir
- $prefix/sbin/proxsmtpd -p $piddir/proxsmtpd.pid
- echo -n "proxsmtpd "
- ;;
-stop)
- [ -f $piddir/proxsmtpd.pid ] && kill `cat $piddir/proxsmtpd.pid`
- echo -n "proxsmtpd "
- ;;
-*)
- echo "usage: proxsmptd.sh {start|stop}" >&2
- ;;
-esac