Skip to content

Commit

Permalink
chore: Update SystemGuard app setup script and dependencies in crontab
Browse files Browse the repository at this point in the history
  • Loading branch information
codeperfectplus committed Aug 30, 2024
1 parent eb7b170 commit f97e1c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,26 @@ System Guard is a Flask app designed to monitor server stats such as CPU, Memory
## Installation

```bash
wget https://raw.githubusercontent.com/codeperfectplus/SystemGuard/main/setup.sh
chmod +x installer.sh
sudo mv installer.sh /usr/local/bin/systemguard-installer
wget https://raw.githubusercontent.com/codeperfectplus/SystemGuard/main/installer.sh
chmod +x installer.sh && sudo mv installer.sh /usr/local/bin/systemguard-installer
```

### To install the SystemGuard app, run the following command:

```bash
systemguard-installer --install
sudo systemguard-installer --install
```

### To uninstall the SystemGuard app, run the following command:

```bash
systemguard-installer --uninstall
sudo systemguard-installer --uninstall
```

### To Restore the SystemGuard app, run the following command:

```bash
systemguard-installer --restore
sudo systemguard-installer --restore
```

### Help
Expand Down
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ install() {

# Install the executable
log "Installing executable to /usr/local/bin/systemguard-installer..."
cp "$(basename "$0")" "$EXECUTABLE"
# cp "$(basename "$0")" "$EXECUTABLE"
log "SystemGuard version $VERSION installed successfully!"
}

Expand Down

0 comments on commit f97e1c5

Please sign in to comment.