aboutsummaryrefslogtreecommitdiff
path: root/docker/nova/nova-libvirt/kolla_nova_libvirt_start.sh
blob: f06a63d9ed3bc8c863905f44dfde1a7b32fc8bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -euo pipefail

# NOTE(mikal): Start virtlogd as a sidecar. We need this for
# nova instance console logs to rotate. Otherwise they will
# consume unbounded amounts of disk.
#
# No exec here: libvirtd will be the "main" process.
/usr/sbin/virtlogd &

# Now hand over PID 1's direct child role to libvirtd.
exec /usr/sbin/libvirtd --listen