Systemd service jobΒΆ
This is a job for controlling services using systemd.
This is a simple job, because it defers most of its action to systemd.
This job has the following configuration parameters:
-
[job.xxx]
-
type
Must be
systemd
.
-
unit
The name of the systemd unit. It can be given in full, i.e.
foo.service
orfoo.slice
, or justfoo
.If not given, this defaults to the job name.
-
logfiles
Comma-separated full paths of logfiles to read and show to the client when requested. If not given, the systemd journal is queried for log lines.
-
configfiles
Comma-separated full paths of config files to transfer to the client and write back when updates are received. If not given, no configs are transferred.
-
description
A nicer description for the job, to be displayed in the GUI. Default is no description, and the job name will be displayed.
-
permissions
-
pollinterval
The standard parameters present for all jobs.
-
A typical section looks like this:
[job.dhcpd]
type = systemd
configfiles = /etc/dhcp/dhcpd.conf