mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
67e3164ecd
Like the Description, these are intended to be displayed to the user, so it makes sense to have them towards the top of the file before all the information that systemd will parse to calculate dependencies. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
30 lines
698 B
SYSTEMD
30 lines
698 B
SYSTEMD
[Unit]
|
|
Description=libvirt @name@ daemon
|
|
Documentation=man:@service@(8)
|
|
Documentation=https://libvirt.org/
|
|
BindsTo=@service@.socket
|
|
Wants=@service@-ro.socket
|
|
Wants=@service@-admin.socket
|
|
After=@service@.socket
|
|
After=@service@-ro.socket
|
|
After=@service@-admin.socket
|
|
Conflicts=libvirtd.service
|
|
After=libvirtd.service
|
|
After=network.target
|
|
After=dbus.service
|
|
After=apparmor.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
Environment=@SERVICE@_ARGS="--timeout 120"
|
|
EnvironmentFile=-@initconfdir@/@service@
|
|
ExecStart=@sbindir@/@service@ $@SERVICE@_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=@service@.socket
|
|
Also=@service@-ro.socket
|
|
Also=@service@-admin.socket
|