mirror of
https://github.com/torproject/gettor.git
synced 2024-11-23 09:49:41 +00:00
Document scripts and service files
This commit is contained in:
parent
b5a1cffb31
commit
fb3155de15
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user