ports/main/nnd-s6-services/tmpl/libvirtd

14 lines
293 B
Plaintext
Executable File

#!/bin/execlineb -W
importas -i NAME NAME
s6-envdir -I /etc/s6/env/libvirt
importas -D "/etc/libvirt/virt${NAME}d.conf" CONFIG DEFAULTCONFIG
s6-envdir -I /etc/s6/env/libvirt.${NAME}
importas -D $DEFAULTCONFIG CONFIG CONFIG
s6-envdir -I /etc/s6/env/path
emptyenv -p
virt${NAME}d -f $CONFIG