Skip to content

Commit

Permalink
Replace canto-space with canto_space in init files
Browse files Browse the repository at this point in the history
  • Loading branch information
jseager7 committed Jul 26, 2021
1 parent 5315b71 commit 652a2dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion etc/canto-docker-initd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ action=$1

PORT=5000
WORKERS=5
CANTO_SPACE=/var/canto-space
CANTO_SPACE=/var/canto_space
PID_PATH=import_export/canto.pid

if [ -f /etc/default/canto ]; then
Expand Down
8 changes: 4 additions & 4 deletions etc/canto-init.d.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Instructions for running Canto as an init script

This assumes you have an existing, initialised `canto-space` directory (at
`/var/canto-space` by default). See the
This assumes you have an existing, initialised `canto_space` directory (at
`/var/canto_space` by default). See the
[main Canto documentation](https://curation.pombase.org/docs/canto_admin/installation)
for details.

Expand Down Expand Up @@ -115,7 +115,7 @@ The `canto.defaults` file allows the following variables to be configured:
of your server.

* `CANTO_SPACE`: the path to the base directory of the Canto application.
Defaults to `/var/canto-space`. Note that this is the path to the
Defaults to `/var/canto_space`. Note that this is the path to the
containing directory for the `canto`, `data` and `import_export`
directories; it is _not_ the path to the `canto` directory itself.

Expand All @@ -128,7 +128,7 @@ The `canto.defaults` file allows the following variables to be configured:
## Logging and troubleshooting

The service file writes output from Canto to a log file at
`/var/canto-space/canto.log`. If you are using systemd, you can also use
`/var/canto_space/canto.log`. If you are using systemd, you can also use
the following command to check the service status:

```sh
Expand Down

0 comments on commit 652a2dc

Please sign in to comment.