Commit 7542a69b authored by Raphaël Hertzog's avatar Raphaël Hertzog

Update database path to be relative and not absolute

For some reason, an absolute path is not supported and beef fails
to start with:
/usr/share/beef-xss/bundle/ruby/1.9.1/gems/data_objects-0.10.12/lib/data_objects/connection.rb:79:in `initialize': unable to open database file (DataObjects::ConnectionError)

We thus add an intermediary symlink to still store the database
in /var/lib/beef-xss.
parent bbfebdd0
etc/beef-xss/config.yaml usr/share/beef-xss/config.yaml
usr/lib/beef-xss/bundle usr/share/beef-xss/bundle
var/lib/beef-xss usr/share/beef-xss/db
......@@ -8,7 +8,7 @@ Author: Raphaël Hertzog <>
# db_file is only used for sqlite
- db_file: "beef.db"
+ db_file: "/var/lib/beef-xss/beef.db"
+ db_file: "db/beef.db"
# db connection information is only used for mysql/postgres
db_host: "localhost"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment