diff options
author | Gareth Rees <gareth@mysociety.org> | 2015-02-18 16:32:36 +0000 |
---|---|---|
committer | Gareth Rees <ADD_EMAIL_HERE> | 2015-03-09 09:44:25 +0000 |
commit | 7eb0ee9468b23d8aa3e7aefac99c266d62068740 (patch) | |
tree | a8ac9bbae3a37c806da78081dc4ab98ed5642e80 /script/compact-xapian-database | |
parent | 72fe6ebc5c0a2dfaf9237d4a49694ba2c81b0ba2 (diff) |
Restart alaveteli rather than apache
Diffstat (limited to 'script/compact-xapian-database')
-rwxr-xr-x | script/compact-xapian-database | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/compact-xapian-database b/script/compact-xapian-database index 075a71cd8..02014c92c 100755 --- a/script/compact-xapian-database +++ b/script/compact-xapian-database @@ -22,7 +22,7 @@ SU mv "$XAPIAN_DB_DIR/$RAILS_ENV" "$XAPIAN_DB_DIR/$RAILS_ENV.tmp" mv "$XAPIAN_DB_DIR/$RAILS_ENV.new" "$XAPIAN_DB_DIR/$RAILS_ENV" rm -rf "$XAPIAN_DB_DIR/$RAILS_ENV.tmp" - commonlib/bin/output-on-error /etc/init.d/apache2 restart + commonlib/bin/output-on-error service alaveteli restart fi else echo >&2 "Could not find xapian-compact script; have you installed xapian-tools?" |