forked from linux/documentation
hint the use case
This commit is contained in:
1 parent
67a07827cb
commit
ec91325e96
1 file changed
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
Hiera can also be used to manage services and to automate reoccuring tasks with timers.
|
||||
|
||||
## Enabling/Starting a Service / Timer
|
||||
## Enabling/Starting a Service / Timer (existing service)
|
||||
|
||||
If the software already comes with an systemd unit file, then it is sufficient to just enable it in Hiera by using the `base::services` key:
|
||||
|
||||
@@ -45,7 +45,7 @@ base::services:
|
||||
...
|
||||
```
|
||||
|
||||
## Manage Services with Custom Unit Files
|
||||
## Manage Services with Custom Unit Files (full new service)
|
||||
|
||||
It is also possible to provide a full systemd unit file if there is none already. For this define the different secions and their content with subkeys below the `options` key as in below example:
|
||||
|
||||
|
||||
Reference in new issue
Block a user