Skip to content

Commit

Permalink
Run sa-update as postinit command
Browse files Browse the repository at this point in the history
  • Loading branch information
drscream committed Jun 7, 2019
1 parent 369562c commit f34d25b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions copy/opt/core/var/postinit/includes/30-sa-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

sudo -u spamd /opt/local/bin/sa-update && \
kill -SIGHUP $(cat /var/spamassassin/spamd.pid)

0 comments on commit f34d25b

Please sign in to comment.