aboutsummaryrefslogtreecommitdiffstats
path: root/config/postfix/postfix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/postfix/postfix.sh')
-rwxr-xr-xconfig/postfix/postfix.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/postfix/postfix.sh b/config/postfix/postfix.sh
new file mode 100755
index 00000000..97fa5122
--- /dev/null
+++ b/config/postfix/postfix.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+# This file was automatically generated
+# by the pfSense service handler.
+
+rc_start() {
+ /usr/local/sbin/postfix start
+
+}
+
+rc_stop() {
+ /usr/local/sbin/postfix stop
+
+}
+
+case $1 in
+ start)
+ rc_start
+ ;;
+ stop)
+ rc_stop
+ ;;
+ restart)
+ rc_stop
+ rc_start
+ ;;
+esac
+