-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates config locations and making proxy default for Client
Now we have all the configurations under /usr/share/securedrop-client/ including the alembic.ini file. The database file is now located at ~/securedrop_client/ Based on the PR review comments.
- Loading branch information
Showing
5 changed files
with
15 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
#!/bin/sh | ||
|
||
mkdir -p ~/.securedrop_client/logs | ||
mkdir -p ~/.securedrop_client/data | ||
chmod 0700 ~/.securedrop_client/logs | ||
chmod 0700 ~/.securedrop_client/data | ||
mkdir -p ~/.securedrop_client | ||
chmod 0700 ~/.securedrop_client | ||
cd /opt/venvs/securedrop-client | ||
|
||
# Now let us try to run alembic first | ||
./bin/alembic -c /etc/securedrop-client/alembic.ini upgrade head | ||
./bin/alembic -c /usr/share/securedrop-client/alembic.ini upgrade head | ||
|
||
# Now execute the actual client | ||
./bin/sd-client | ||
./bin/sd-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters