Browse Source

Fix emailrelay init script

Signed-off-by: Charles Lehner <cel@celehner.com>
lilik-openwrt-22.03
Charles Lehner 10 years ago
parent
commit
e30b50f0a1
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/emailrelay/Makefile
  2. +2
    -2
      net/emailrelay/files/emailrelay.init

+ 1
- 1
net/emailrelay/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=emailrelay
PKG_VERSION:=1.9
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
PKG_SOURCE_URL:=@SF/emailrelay/$(PKG_VERSION)


+ 2
- 2
net/emailrelay/files/emailrelay.init View File

@ -6,10 +6,10 @@ START=90
start() {
logger -t 'emailrelay' "Starting emailrelay service."
service_start emailrelay --as-server --poll 60 --forward-to smtpserver:smtpport --spool-dir /tmp --client-tls --client-auth /etc/emailrelay.auth --server-auth /etc/emailrelay.auth --log
service_start /usr/bin/emailrelay --as-server --poll 60 --forward-to smtpserver:smtpport --spool-dir /tmp --client-tls --client-auth /etc/emailrelay.auth --server-auth /etc/emailrelay.auth --log
}
stop() {
logger -t 'emailrelay' "Stopping emailrelay service."
killall -9 emailrelay
service_stop /usr/bin/emailrelay
}

Loading…
Cancel
Save