2019-04-30 15:41:10 +00:00
|
|
|
[Unit]
|
2019-07-18 15:34:41 +00:00
|
|
|
Description=@name@ admin socket
|
|
|
|
Before=@service@.service
|
|
|
|
BindsTo=@service@.socket
|
|
|
|
After=@service@.socket
|
|
|
|
@deps@
|
2019-04-30 15:41:10 +00:00
|
|
|
|
|
|
|
[Socket]
|
2019-07-18 15:34:41 +00:00
|
|
|
# The directory must match the @sysconfdir@/libvirt/@service@.conf unix_sock_dir setting
|
2019-06-24 11:00:37 +00:00
|
|
|
# when using systemd version < 227
|
2019-08-20 10:57:46 +00:00
|
|
|
ListenStream=@runstatedir@/libvirt/@sockprefix@-admin-sock
|
2019-07-18 15:34:41 +00:00
|
|
|
Service=@service@.service
|
2019-04-30 15:41:10 +00:00
|
|
|
SocketMode=0600
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sockets.target
|