diff options
author | Jonas Smedegaard <dr@jones.dk> | 2005-07-07 20:03:15 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2005-07-07 20:03:15 +0000 |
commit | 9c6f7078cd5ad4077803a36de5393a784e56c8f7 (patch) | |
tree | 2614c7829ab8a50baf969315e82e3def0eb1554d /amavis | |
parent | 84076d078e6111cd4af1375a01daa977941d13fe (diff) |
New script to init amavis helpers.
Diffstat (limited to 'amavis')
-rwxr-xr-x | amavis/amavis.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/amavis/amavis.sh b/amavis/amavis.sh new file mode 100755 index 0000000..670e3c4 --- /dev/null +++ b/amavis/amavis.sh @@ -0,0 +1,5 @@ +#!/bin/sh +su - amavis -c 'razor-admin -create' +su - amavis -c 'razor-admin -register' || su - amavis -c 'razor-admin -register' || su - amavis -c 'razor-admin -register' \ + || echo "Run this command until it succeeds: \"su - amavis -c 'razor-admin -register'\"" +su amavis -c 'sa-learn --sync' |