systemd: Add missing WantedBy for virtlogd/virtlockd

This annotation being missing resulted in virtlogd and virtlockd
being marked as "indirect" services, i.e. services that cannot
be started directly but have to be socket activated instead.

While this is our preferred configuration, we shouldn't prevent
the admin to start them at boot if they want to.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-09-18 15:25:28 +02:00
parent 4499eea524
commit 06f12fd041
2 changed files with 2 additions and 0 deletions

View File

@ -21,5 +21,6 @@ OOMScoreAdjust=-900
LimitNOFILE=1024:524288 LimitNOFILE=1024:524288
[Install] [Install]
WantedBy=multi-user.target
Also=virtlockd.socket Also=virtlockd.socket
Also=virtlockd-admin.socket Also=virtlockd-admin.socket

View File

@ -21,5 +21,6 @@ OOMScoreAdjust=-900
LimitNOFILE=1024:524288 LimitNOFILE=1024:524288
[Install] [Install]
WantedBy=multi-user.target
Also=virtlogd.socket Also=virtlogd.socket
Also=virtlogd-admin.socket Also=virtlogd-admin.socket