Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
postfix.11875
check_mail_queue
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check_mail_queue of Package postfix.11875
#!/bin/bash nm() { NM=$( /usr/bin/mailq 2> /dev/null | tail -1 | /usr/bin/gawk '{ print $5 }' ) if [ "$NM" ] then return 0 else return 1 fi } test -e /var/run/check_mail_queue.pid && exit; echo $$ > /var/run/check_mail_queue.pid while( nm ) do /etc/init.d/postfix status || /etc/init.d/postfix start sleep 10 /usr/sbin/postfix flush done /etc/init.d/postfix status && /etc/init.d/postfix stop rm /var/run/check_mail_queue.pid
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor