Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
spamassassin.18977
suse.cron-sa-update
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse.cron-sa-update of Package spamassassin.18977
#!/bin/bash if [ -e /etc/sysconfig/spamd ] then . /etc/sysconfig/spamd fi if [ "$SPAM_SA_UPDATE" = "yes" ] then /usr/bin/sa-update &> /dev/null result=$? if [ "$SPAM_SA_COMPILE" = "yes" -a $result = 0 ] ; then /usr/bin/sa-compile &> /dev/null fi if [ "$SPAM_SPAMD_RESTART" = "yes" -a $result = 0 ] ; then /etc/init.d/spamd restart &> /dev/null fi if [ "$SPAM_AMAVISD_RESTART" = "yes" -a $result = 0 ] ; then /etc/init.d/amavis restart &> /dev/null fi if [ $result = 2 ] ; then echo "sa-update lint check failed" | \ logger -t suse.cron-sa-update fi if [ $result -ge 3 ] ; then echo "sa-update failed, exitcode $result" | \ logger -t suse.cron-sa-update fi fi exit 0
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