Skip to content

Commit

Permalink
Add overrides entry to the readme (#191)
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka authored Dec 8, 2024
1 parent 2ca3cf8 commit 4fd77a2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,13 @@ stages:

A list of systemd services to `enable`, `disable`, `mask` or `start`.

A list of overrides to apply to the service files witht he following fields:
- `service`: The service name to add the override for. Required. `.service` extension is appended to the name if not provided.
- `name`: The name of the override file. Optional, if not provided it will be named `override-yip.conf`. `.conf` extension is appended to the name if not provided.
- `content`: The content of the override file.

Overrides don't check if the service is enabled or disabled, or even if it exists, it will apply the override anyway.

```yaml
stages:
default:
Expand All @@ -461,6 +468,13 @@ stages:
- crond
start:
- cronie
overrides:
- service: "systemd-timesyncd"
name: "override-custom.conf"
content: |
[Service]
ExecStart=
ExecStart=/usr/lib/systemd/systemd-timesyncd
```
### `stages.<stageID>.[<stepN>].environment`

Expand Down

0 comments on commit 4fd77a2

Please sign in to comment.