mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 08:02:08 +00:00
- 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>
27 lines
864 B
Text
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"
|