mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 06:58:42 +00:00
Fix OnionShare persistent arg
This commit is contained in:
@@ -30,7 +30,9 @@ if [ "${VOXVERA_E2E_OFFLINE:-}" != "1" ]; then
|
|||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
# Start OnionShare
|
# Start OnionShare
|
||||||
onionshare-cli --website --public --persistent dist/demosite >"$LOG_DIR/onionshare.log" 2>&1 &
|
onionshare-cli --website --public \
|
||||||
|
--persistent ci/.onionshare-session \
|
||||||
|
dist/demosite >"$LOG_DIR/onionshare.log" 2>&1 &
|
||||||
OS_PID=$!
|
OS_PID=$!
|
||||||
|
|
||||||
# Wait for URL
|
# Wait for URL
|
||||||
|
@@ -346,7 +346,8 @@ def serve(config_path: str):
|
|||||||
logfile = dir_path / 'onionshare.log'
|
logfile = dir_path / 'onionshare.log'
|
||||||
|
|
||||||
cmd = [
|
cmd = [
|
||||||
'onionshare-cli', '--website', '--public', '--persistent',
|
'onionshare-cli', '--website', '--public',
|
||||||
|
'--persistent', str(dir_path / '.onionshare-session'),
|
||||||
'--external-tor-socks-port', socks,
|
'--external-tor-socks-port', socks,
|
||||||
'--external-tor-control-port', ctl,
|
'--external-tor-control-port', ctl,
|
||||||
str(dir_path)
|
str(dir_path)
|
||||||
|
Reference in New Issue
Block a user