gentoo-ebuilds/app-containers/incus/files/incus-6.0.confd
Joonas Niilola dd8a0d3ea9
app-containers/incus: add 6.3
- clear out bashishms from openrc service files,
 - switch to calling 'prlimit' from the openrc init file instead of relying on
   openrc's rc_ulimit.

Closes: https://bugs.gentoo.org/929138
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-07-12 11:58:01 +03:00

27 lines
864 B
Text

## "INCUS_OPTIONS+=" is not POSIX-compliant, so we use
## "INCUS_OPTIONS="${INCUS_OPTIONS}"" to not rely on bashmisms.
## bgo#929138
# Group which owns the shared socket
INCUS_OPTIONS="${INCUS_OPTIONS} --group incus-admin"
# Enable cpu profiling into the specified file
#INCUS_OPTIONS="${INCUS_OPTIONS} --cpuprofile /tmp/lxc_cpu_profile"
# Enable memory profiling into the specified file
#INCUS_OPTIONS="${INCUS_OPTIONS} --memprofile /tmp/lxc_mem_profile"
# Enable debug mode
#INCUS_OPTIONS="${INCUS_OPTIONS} --debug"
# For debugging, print a complete stack trace every n seconds
#INCUS_OPTIONS="${INCUS_OPTIONS} --print-goroutines-every 5"
# Enable verbose mode
#INCUS_OPTIONS="${INCUS_OPTIONS} -v"
# Logfile to log to
#INCUS_OPTIONS="${INCUS_OPTIONS} --logfile /var/log/incus/incus.log"
# Enable syslog logging
#INCUS_OPTIONS="${INCUS_OPTIONS} --syslog"