Skip to content

Commit 807067b

Browse files
committed
update installation instructions
1 parent 5580fbb commit 807067b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

INSTALL.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,13 @@ production deployments. MySQL or PostgreSQL are better choices.
157157

158158
To configure the sqlite database backend:
159159

160-
1. Create the database directory specified in the settings file:
160+
1. Create the database directory specified in the settings file, touch the
161+
database file and set the journal mode to WAL:
161162

162163
```shell
163164
mkdir -p /var/lib/patchman/db
165+
touch /var/lib/patchman/db/patchman.db
166+
sqlite3 /var/lib/patchman/db/patchman.db 'PRAGMA journal_mode=WAL;'
164167
```
165168

166169
2. Modify `/etc/patchman/local_settings.py` as follows:

0 commit comments

Comments
 (0)