lxd: add logging
This commit is contained in:
parent
d79e28adb7
commit
f7258426c4
3 changed files with 6 additions and 2 deletions
2
srcpkgs/lxd/files/lxd/log/run
Normal file
2
srcpkgs/lxd/files/lxd/log/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec vlogger -t lxd
|
4
srcpkgs/lxd/files/lxd/run
Executable file → Normal file
4
srcpkgs/lxd/files/lxd/run
Executable file → Normal file
|
@ -10,4 +10,6 @@ fi
|
||||||
if [ -e /sys/fs/cgroup/cpuset/cgroup.clone_children ]; then
|
if [ -e /sys/fs/cgroup/cpuset/cgroup.clone_children ]; then
|
||||||
echo 1 > /sys/fs/cgroup/cpuset/cgroup.clone_children 2>/dev/null || :
|
echo 1 > /sys/fs/cgroup/cpuset/cgroup.clone_children 2>/dev/null || :
|
||||||
fi
|
fi
|
||||||
exec lxd --group lxd 2>&1
|
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec lxd --group lxd ${OPTS:- --verbose}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lxd'
|
# Template file for 'lxd'
|
||||||
pkgname=lxd
|
pkgname=lxd
|
||||||
version=3.21
|
version=3.21
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/lxc/lxd
|
go_import_path=github.com/lxc/lxd
|
||||||
go_build_tags=libsqlite3
|
go_build_tags=libsqlite3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue