vp-build/srcpkgs/lxd/files/lxd/run

8 lines
198 B
Bash
Executable File

#!/bin/sh
_systemd_cgrp="/sys/fs/cgroup/systemd"
if [ ! -d ${_systemd_cgrp} ]; then
mkdir ${_systemd_cgrp}
fi
mount -t cgroup -o none,name=systemd cgroup ${_systemd_cgrp}
exec lxd --group lxd 2>&1