From 87047729e58936cfbb4e1589100a12ae3eb24b1d Mon Sep 17 00:00:00 2001 From: Myned Date: Fri, 17 Mar 2023 01:16:20 -0500 Subject: [PATCH] Update repo name --- README.md | 14 +++++++------- watcher.service | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bac4bf2..e071672 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ Linux is used for the following commands\ ## Installing 1. Clone repository ``` -git clone https://github.com/Myned/Watcher.git +git clone https://github.com/Myned/watcher.git ``` 2. Go to project folder ``` -cd Watcher +cd watcher ``` 3. Create a virtual environment and install dependencies ``` @@ -26,7 +26,7 @@ poetry install ## Usage 1. Go to project folder ``` -cd Watcher +cd watcher ``` 2. Run with optimizations ``` @@ -56,11 +56,11 @@ duration = 0 # time in seconds before considered inactive 7. Paste generated URL into a browser to invite the bot ### systemd service Run in the background on most Linux machines\ -This assumes that the project folder is located at `~/.git/Watcher`\ +This assumes that the project folder is located at `~/.git/watcher`\ Change the `WorkingDirectory` path in `watcher.service` if this is not the case 1. Go to project folder ``` -cd Watcher +cd watcher ``` 2. Copy user service file ``` @@ -85,7 +85,7 @@ sudo loginctl enable-linger username ## Updating 1. Go to project folder ``` -cd Watcher +cd watcher ``` 2. Pull changes from repository ``` @@ -114,7 +114,7 @@ sudo loginctl disable-linger username ``` 4. Remove project folder ``` -rm -rf Watcher +rm -rf watcher ``` ## Contributing 1. [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repository on GitHub diff --git a/watcher.service b/watcher.service index 8957077..1ced7f1 100644 --- a/watcher.service +++ b/watcher.service @@ -4,7 +4,7 @@ Requires=default.target After=default.target [Service] -WorkingDirectory=/home/user/.git/Watcher +WorkingDirectory=/home/user/.git/watcher ExecStart=poetry run python -OO run.py >&2 [Install]