-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44ba36b
commit eb554af
Showing
3 changed files
with
37 additions
and
11 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 |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
import pwd | ||
import sys | ||
import subprocess | ||
import stat | ||
import fileinput | ||
|
||
from shutil import copyfile | ||
|
||
|
@@ -32,11 +30,11 @@ | |
|
||
paths_v3_authfiles = { | ||
"app-journalist": os.path.join(path_securedrop_root, | ||
'install_files/ansible-base/app-journalist-v3aths'), | ||
'install_files/ansible-base/app-journalist-v3aths'), | ||
"app-ssh": os.path.join(path_securedrop_root, | ||
'install_files/ansible-base/app-ssh-v3aths'), | ||
'install_files/ansible-base/app-ssh-v3aths'), | ||
"mon-ssh": os.path.join(path_securedrop_root, | ||
'install_files/ansible-base/mon-ssh-v3aths') | ||
'install_files/ansible-base/mon-ssh-v3aths') | ||
} | ||
path_onion_auth_dir = '/var/lib/tor/onion_auth' | ||
|
||
|
@@ -90,7 +88,7 @@ | |
os.chmod(new_f, 0o400) | ||
os.chown(new_f, debian_tor_uid, debian_tor_gid) | ||
|
||
# reload tor | ||
# restart tor | ||
try: | ||
subprocess.check_call(['systemctl', 'restart', '[email protected]']) | ||
except subprocess.CalledProcessError: | ||
|
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