Merge pull request #72 from bcwaldon/unit-enable

Address unit enabling issues
This commit is contained in:
Brian Waldon
2014-04-17 09:32:47 -07:00
4 changed files with 47 additions and 27 deletions

View File

@@ -87,6 +87,7 @@ Arbitrary systemd units may be provided in the `coreos.units` attribute.
- **name**: String representing unit's name. Required.
- **runtime**: Boolean indicating whether or not to persist the unit across reboots. This is analagous to the `--runtime` argument to `systemd enable`. Default value is false.
- **enable**: Boolean indicating whether or not to handle the [Install] section of the unit file. This is similar to running `systemctl enable <name>`. Default value is false.
- **content**: Plaintext string representing entire unit file. If no value is provided, the unit is assumed to exist already.
- **command**: Command to execute on unit: start, stop, reload, restart, try-restart, reload-or-restart, reload-or-try-restart. Default value is restart.