From f5b9357f9c810d008be458bda519b9d9362a3e78 Mon Sep 17 00:00:00 2001 From: Roman Dovgan Date: Tue, 7 May 2024 14:09:57 +0300 Subject: [PATCH] Refactored files location --- service/{ => data}/mnemonic | 0 service/parser.py | 2 +- service/start.sh | 3 --- start.sh | 3 +++ service/stop.sh => stop.sh | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename service/{ => data}/mnemonic (100%) delete mode 100644 service/start.sh create mode 100644 start.sh rename service/stop.sh => stop.sh (100%) diff --git a/service/mnemonic b/service/data/mnemonic similarity index 100% rename from service/mnemonic rename to service/data/mnemonic diff --git a/service/parser.py b/service/parser.py index 0b4c0ec..c7b51ce 100644 --- a/service/parser.py +++ b/service/parser.py @@ -11,7 +11,7 @@ output_file_name = 'output.txt' progress_file_name = 'progress.txt' users_file_name = 'users.txt' -mnemonic_file_name = 'mnemonic' +mnemonic_file_name = 'data/mnemonic' load_dotenv() token = os.getenv('GITHUB_TOKEN') diff --git a/service/start.sh b/service/start.sh deleted file mode 100644 index d7fc880..0000000 --- a/service/start.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -nohup python3 parser.py > log.txt 2>&1 & \ No newline at end of file diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..68ba67f --- /dev/null +++ b/start.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nohup python3 service/parser.py > log.txt 2>&1 & \ No newline at end of file diff --git a/service/stop.sh b/stop.sh similarity index 100% rename from service/stop.sh rename to stop.sh