systemd-unit
4ops/systemd-unit/null
Terraform module
Systemd unit Creates systemd unit config. Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | Providers No provider. Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | description | A human readable name for the unit. This is used by systemd (and other UIs) as the label for the unit, so this string should identify the unit rather than describe it, despite the name. 'Apache2 Web Server' is a good example. | string | "" | no | | documentation | A list of URIs referencing documentation for this unit or its configuration. Accepted are only URIs of the types "http://", "https://", "file:", "info:", "man:". | list(string) | [] | no | | wants | Configures requirement dependencies on other units. | list(string) | []
| Name | Type | Description | Default |
|---|---|---|---|
| limit_rss | string | "" | |
| after | list(string) | Ensures the opposite, that the listed unit is fully started up before the config | [
"network.target"
] |
| restart | string | Configures whether the service shall be restarted when the service process exits | "on-failure" |
| runtime_directory | list(string) | Runtime directory path. | [] |
| standard_input | string | Controls where file descriptor 0 (STDIN) of the executed processes is connected | "" |
| limit_data | string | "" | |
| condition_memory | string | Verify that the specified amount of system memory is available to the current sy | "" |
| also | list(string) | [] | |
| bus_name | string | "" | |
| wants | list(string) | Configures requirement dependencies on other units. | [] |
| before | list(string) | Ensures that the configured unit is started before the listed unit begins starti | [] |
| propagates_reload_to | list(string) | List of one or more units where reload requests on this unit will be propagated | [] |
| reload_propagated_from | list(string) | List of one or more units where reload requests on the other unit will be propag | [] |
| default_dependencies | bool | If `true`, a few default dependencies will implicitly be created for the unit. T | true |
| limit_cpu | string | "" | |
| limit_nice | string | "" | |
| restart_sec | number | 0 | |
| protect_system | string | If `true`, mounts the `/usr` and the boot loader directories (`/boot` and `/efi` | "" |
| working_directory | list(string) | Working directory path. | [] |
| send_sigkill | bool | Specifies whether to send `SIGKILL` to remaining processes after a timeout, if t | true |
| … and 10 more inputs | |||
content — Generated unit file content.checksum — Checksum of content.