diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-04-02 14:45:54 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-04-02 14:45:54 +0100 |
commit | d5a51cd73157fc5d15f5b300179b17221fb412a8 (patch) | |
tree | 1a6b3c3e893112e9c44e57fd27406b6cba90de04 /script/compact-xapian-database | |
parent | d2a1e3f126af96282bdd2c31cc9d8feb7c230178 (diff) | |
parent | 188df36f1b746b9864250bea82a5dd7704cbf4ac (diff) |
Merge branch 'hotfix/0.21.0.2' into rails-3-develop
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 0caff6394..cb2d578e6 100755 --- a/script/compact-xapian-database +++ b/script/compact-xapian-database @@ -20,7 +20,7 @@ if [ -x /usr/bin/xapian-compact ]; 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 service "$DAEMON_NAME" restart + commonlib/bin/output-on-error /usr/sbin/service "$DAEMON_NAME" restart fi else echo >&2 "Could not find xapian-compact script; have you installed xapian-tools?" |