Skip to content

Commit

Permalink
Fix incomplete renaming of package scripts. (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues authored Jan 7, 2024
1 parent 9f839c4 commit 149ebd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def main(argv):
start_worker(instance_id, clp_config, container_clp_config, num_cpus, mounts)
except Exception as ex:
# Stop CLP
subprocess.run(['python3', str(clp_home / 'sbin' / 'stop-clp')], check=True)
subprocess.run([str(clp_home / 'sbin' / 'stop-clp.sh')], check=True)

if type(ex) == ValueError:
logger.error(f"Failed to start CLP: {ex}")
Expand Down
20 changes: 10 additions & 10 deletions components/package-template/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ without decompression. CLP's compression ratio is significantly higher than gzip
### Starting CLP

```shell
sbin/start-clp
sbin/start-clp.sh
```

### Compressing logs

```shell
sbin/compress <uncompressed log files/directories>
sbin/compress.sh <uncompressed log files/directories>
```

For more options, run the script with the `--help` option.

### Decompressing logs

```shell
sbin/decompress -d <output directory>
sbin/decompress.sh -d <output directory>
```

For more options, run the script with the `--help` option.

### Searching logs

```bash
sbin/search <your * wildcard * query>
sbin/search.sh <your * wildcard * query>
```

CLP supports two wildcard characters:
Expand Down Expand Up @@ -113,31 +113,31 @@ On the control node, run the following commands (these must be started in the
order below):

```bash
sbin/start-clp db
sbin/start-clp queue
sbin/start-clp scheduler
sbin/start-clp.sh db
sbin/start-clp.sh queue
sbin/start-clp.sh scheduler
```

### Starting the worker-node components

On every node you want to run workers, run this command:

```bash
sbin/start-clp worker
sbin/start-clp.sh worker
```

### Stopping components

To stop an individual component on a node, you can use:

```bash
sbin/stop-clp <component name>
sbin/stop-clp.sh <component name>
```

To stop all components on a node, you can use:

```bash
sbin/stop-clp
sbin/stop-clp.sh
```

## Troubleshooting
Expand Down

0 comments on commit 149ebd1

Please sign in to comment.