Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hiro
GetTor
Commits
fb3155de
Commit
fb3155de
authored
Oct 31, 2019
by
Hiro
🏄
Browse files
Document scripts and service files
parent
b5a1cffb
Changes
7
Hide whitespace changes
Inline
Side-by-side
bin/gettor_check
View file @
fb3155de
...
...
@@ -9,6 +9,13 @@
#
# :license: This is Free Software. See LICENSE for license information.
################################################################################
# #
# This file is used to check if GetTor is working and sending links. #
# It sends an email to gmail and writes to a status file. #
# #
################################################################################
python3 /home/gettor/gettor/scripts/check_service
$1
#store exit status
...
...
scripts/add_links_to_db
View file @
fb3155de
...
...
@@ -7,6 +7,9 @@
# see also AUTHORS file
#
# :license: This is Free Software. See LICENSE for license information.
#
# Add links to Tor Browser bundles to GetTor.
#
import
os
import
sys
...
...
scripts/create_db
View file @
fb3155de
...
...
@@ -7,6 +7,14 @@
# see also AUTHORS file
#
# :license: This is Free Software. See LICENSE for license information.
#
# Creates gettor.db sqlite database.
# run as: $ python3 scripts/create_db -n -c -o -f gettor.db
# -n --new: create new database file
# -c --clear: clear database
# -o --overwrite: overwrite existing Database
#
import
os
import
sys
...
...
scripts/export_stats
View file @
fb3155de
...
...
@@ -8,6 +8,9 @@
# :copyright: (c) 2008-2019, The Tor Project, Inc.
#
# :license: This is Free Software. See LICENSE for license information.
#
# Exports db dump into csv
#
cd
~/gettor
mkdir
-p
csv
...
...
scripts/gettor
View file @
fb3155de
...
...
@@ -9,6 +9,10 @@ the Tor Browser.
:copyright: (c) 2008-2014, The Tor Project, Inc.
(c) 2014, all entities within the AUTHORS file
:license: see included LICENSE for information
This file starts GetTor as a twistd app. This is the fila that is called by
gettor_service.
"""
from
__future__
import
print_function
...
...
scripts/process_email
View file @
fb3155de
...
...
@@ -7,6 +7,10 @@
# see also AUTHORS file
#
# :license: This is Free Software. See LICENSE for license information.
#
# When a mail hits postfix this is the script that will process it.
# This is configured in the .forward file within the gettor home.
#
import
sys
import
os
...
...
scripts/update_files
View file @
fb3155de
...
...
@@ -8,6 +8,9 @@
# :copyright: (c) 2008-2019, The Tor Project, Inc.
#
# :license: This is Free Software. See LICENSE for license information.
#
# Updates all the files in all the endpoints.
#
cd
~/releases
git checkout master
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment