Skip to content

Commit

Permalink
remove doc lines about a removed systemd script
Browse files Browse the repository at this point in the history
  • Loading branch information
Keksoj committed Aug 24, 2023
1 parent bd5703a commit e9c185e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions doc/how_to_use.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,4 @@ The repository provides a unit file [here][unit-file]. You can copy it to `/etc/

This will make systemd take notice of it, and now you can start the service with `systemctl start sozu.service`. Furthermore, you can enable it, so that it is activated by default on future boots with `systemctl enable sozu.service`.

You can use a `bash` script and call `sed` to automate this part. e.g.: [generate.sh][gen].

This script will generate `sozu.service`, `sozu.conf` and `config.toml` files into a `generated` folder at the root of `os-build` directory. You will have to set your own `__BINDIR__`, `__SYSCONFDIR__`, `__DATADIR__` and `__RUNDIR__` variables.

Here is an example of those variables:

| variable | value |
| :--- | :--- |
| `__BINDIR__` | `/usr/local/bin` |
| `__SYSCONFDIR__` | `/etc` |
| `__DATADIR__` | `/var/lib/sozu` |
| `__RUNDIR__` | `/run` |

[unit-file]: ../os-build/systemd/sozu.service
[gen]: ../os-build/exherbo/generate.sh

0 comments on commit e9c185e

Please sign in to comment.