diff options
author | Scott W Taylor <swtaylor@gentoo.org> | 2004-05-22 19:31:57 +0000 |
---|---|---|
committer | Scott W Taylor <swtaylor@gentoo.org> | 2004-05-22 19:31:57 +0000 |
commit | ec41b58e01213217de0abbcd4fe21b6c39ef167b (patch) | |
tree | 67fdcb12bb92e46905fe831221752e29045945fe /net-mail | |
parent | re-adding amd64 keyword (Manifest recommit) (diff) | |
download | gentoo-2-ec41b58e01213217de0abbcd4fe21b6c39ef167b.tar.gz gentoo-2-ec41b58e01213217de0abbcd4fe21b6c39ef167b.tar.bz2 gentoo-2-ec41b58e01213217de0abbcd4fe21b6c39ef167b.zip |
fix spelling and put in place check for webmaild which exists as of 0.45.5
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/courier/files/courier-init | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/net-mail/courier/files/courier-init b/net-mail/courier/files/courier-init index 2f6d4b1e90e7..de2b8c73f2b2 100644 --- a/net-mail/courier/files/courier-init +++ b/net-mail/courier/files/courier-init @@ -68,8 +68,10 @@ start() { [ -x ${libexecdir}/authlib/authdaemond ] && \ ${libexecdir}/authlib/authdaemond start && ebegin " Starting authdaemond" - [ -x ${libexecdir}/courier/sqwebmaild ] && \ - ${libexecdir}/courier/sqwebmaild start && ebegin " Starting sqwebmaild" + [ -x ${libexecdir}/courier/webmaild ] && \ + ${libexecdir}/courier/webmaild start && ebegin " Starting webmaild" + [ ! -x ${libexecdir}/courier/webmaild ] && [ -x ${libexecdir}/courier/sqwebmaild ] && \ + ${libexecdir}/courier/sqwebmaild start && ebegin " Starting sqwebmaild" [ -x ${sbindir}/courierldapaliasd ] && \ ${sbindir}/courierldapaliasd start && ebegin " Starting courierldapaliasd" @@ -170,13 +172,15 @@ stop() { ${sbindir}/courier stop [ -x ${sbindir}/courierldapaliasd ] && \ - ( ${sbindir}/courierldapaliasd stop ; ebegin " Stoping courierldapaliasd" ) + ( ${sbindir}/courierldapaliasd stop ; ebegin " Stopping courierldapaliasd" ) - [ -x ${libexecdir}/courier/sqwebmaild ] && \ - ( ${libexecdir}/courier/sqwebmaild stop ; ebegin " Stoping sqwebmaild" ) + [ -x ${libexecdir}/courier/webmaild ] && \ + ( ${libexecdir}/courier/webmaild stop ; ebegin " Stopping webmaild" ) + [ ! -x ${libexecdir}/courier/webmaild ] && [ -x ${libexecdir}/courier/sqwebmaild ] && \ + ( ${libexecdir}/courier/sqwebmaild stop ; ebegin " Stopping sqwebmaild" ) [ -x ${libexecdir}/authlib/authdaemond ] && \ - ( ${libexecdir}/authlib/authdaemond stop ; ebegin " Stoping authdaemond" ) + ( ${libexecdir}/authlib/authdaemond stop ; ebegin " Stopping authdaemond" ) ${sbindir}/courierfilter stop ebegin " Stopping courierfilterd" |