mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 02:13:27 +00:00
logging: Provide empty VIRTLOGD_ARGS in the unit file
For all our daemons, we provide VIRXXXD_ARGS env var in the unit file. The variable can then be overridden in corresponding file: EnvironmentFile=-@initconfdir@/virtxxxd The daemon is then executed as: ExecStart=@sbindir@/virtxxxd $VIRTXXXD_ARGS But virtlogd is exception, for no good reason. And while there are probably no arguments we want to pass to virtlogd by default, just mimic what we do for say virtlockd, where we also don't pass any default argument. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
236d2c0f4a
commit
25ce34998b
@ -7,6 +7,7 @@ Documentation=man:virtlogd(8)
|
|||||||
Documentation=https://libvirt.org
|
Documentation=https://libvirt.org
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=VIRTLOGD_ARGS=
|
||||||
EnvironmentFile=-@initconfdir@/virtlogd
|
EnvironmentFile=-@initconfdir@/virtlogd
|
||||||
ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
|
ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
|
||||||
ExecReload=/bin/kill -USR1 $MAINPID
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||||||
|
Loading…
Reference in New Issue
Block a user