2008-03-05 17:57:11 +05:30
|
|
|
# Global OpenRC configuration settings
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# Set rc_interactive to "YES" and you'll be able to press the I key during
|
|
|
|
# boot so you can choose to start specific services. Set to "NO" to disable
|
2011-11-27 05:03:10 +05:30
|
|
|
# this feature.
|
2009-04-24 17:19:55 +05:30
|
|
|
#rc_interactive="YES"
|
|
|
|
|
|
|
|
# If we need to drop to a shell, you can specify it here.
|
2009-04-26 23:27:06 +05:30
|
|
|
# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
|
|
|
|
# otherwise /bin/sh
|
2009-04-24 17:19:55 +05:30
|
|
|
# Linux users could specify /sbin/sulogin
|
|
|
|
#rc_shell=/bin/sh
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2011-03-04 02:36:39 +05:30
|
|
|
# Do we allow any started service in the runlevel to satisfy the dependency
|
2007-04-05 16:48:42 +05:30
|
|
|
# or do we want all of them regardless of state? For example, if net.eth0
|
2007-11-23 17:34:11 +05:30
|
|
|
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
|
2007-04-05 16:48:42 +05:30
|
|
|
# both will be started, but services that depend on 'net' will work if either
|
2007-11-23 17:34:11 +05:30
|
|
|
# one comes up. With rc_depend_strict="YES" we would require them both to
|
2007-04-05 16:48:42 +05:30
|
|
|
# come up.
|
2009-04-24 17:19:55 +05:30
|
|
|
#rc_depend_strict="YES"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-10-30 20:33:12 +05:30
|
|
|
# rc_hotplug is a list of services that we allow to be hotplugged.
|
|
|
|
# By default we do not allow hotplugging.
|
2008-10-10 14:38:59 +05:30
|
|
|
# A hotplugged service is one started by a dynamic dev manager when a matching
|
|
|
|
# hardware device is found.
|
|
|
|
# This service is intrinsically included in the boot runlevel.
|
|
|
|
# To disable services, prefix with a !
|
|
|
|
# Example - rc_hotplug="net.wlan !net.*"
|
2007-04-05 16:48:42 +05:30
|
|
|
# This allows net.wlan and any service not matching net.* to be plugged.
|
2008-10-30 20:33:12 +05:30
|
|
|
# Example - rc_hotplug="*"
|
|
|
|
# This allows all services to be hotplugged
|
|
|
|
#rc_hotplug="*"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# rc_logger launches a logging daemon to log the entire rc process to
|
2007-10-31 21:16:56 +05:30
|
|
|
# /var/log/rc.log
|
2008-10-10 14:07:21 +05:30
|
|
|
# NOTE: Linux systems require the devfs service to be started before
|
2008-10-10 14:38:59 +05:30
|
|
|
# logging can take place and as such cannot log the sysinit runlevel.
|
2009-04-24 17:19:55 +05:30
|
|
|
#rc_logger="YES"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2011-07-07 00:45:48 +05:30
|
|
|
# Through rc_log_path you can specify a custom log file.
|
2011-07-06 04:17:15 +05:30
|
|
|
# The default value is: /var/log/rc.log
|
2011-07-07 05:08:52 +05:30
|
|
|
#rc_log_path="/var/log/rc.log"
|
2011-07-06 04:17:15 +05:30
|
|
|
|
2008-01-06 02:13:08 +05:30
|
|
|
# By default we filter the environment for our running scripts. To allow other
|
|
|
|
# variables through, add them here. Use a * to allow all variables through.
|
2009-04-24 17:19:55 +05:30
|
|
|
#rc_env_allow="VAR1 VAR2"
|
2008-01-06 02:13:08 +05:30
|
|
|
|
2008-09-27 05:28:57 +05:30
|
|
|
# By default we assume that all daemons will start correctly.
|
|
|
|
# However, some do not - a classic example is that they fork and return 0 AND
|
|
|
|
# then child barfs on a configuration error. Or the daemon has a bug and the
|
|
|
|
# child crashes. You can set the number of milliseconds start-stop-daemon
|
|
|
|
# waits to check that the daemon is still running after starting here.
|
|
|
|
# The default is 0 - no checking.
|
2009-04-24 17:19:55 +05:30
|
|
|
#rc_start_wait=100
|
2008-09-27 05:28:57 +05:30
|
|
|
|
2009-04-24 17:19:55 +05:30
|
|
|
# rc_nostop is a list of services which will not stop when changing runlevels.
|
2009-04-19 15:55:38 +05:30
|
|
|
# This still allows the service itself to be stopped when called directly.
|
2009-04-27 14:36:30 +05:30
|
|
|
#rc_nostop=""
|
2009-04-19 15:55:38 +05:30
|
|
|
|
2009-04-24 12:33:08 +05:30
|
|
|
# rc will attempt to start crashed services by default.
|
|
|
|
# However, it will not stop them by default as that could bring down other
|
|
|
|
# critical services.
|
|
|
|
#rc_crashed_stop=NO
|
|
|
|
#rc_crashed_start=YES
|
|
|
|
|
2007-12-27 22:24:10 +05:30
|
|
|
##############################################################################
|
|
|
|
# MISC CONFIGURATION VARIABLES
|
|
|
|
# There variables are shared between many init scripts
|
|
|
|
|
|
|
|
# Set unicode to YES to turn on unicode support for keyboards and screens.
|
2009-04-24 17:19:55 +05:30
|
|
|
#unicode="NO"
|
2007-12-27 22:24:10 +05:30
|
|
|
|
2010-10-27 19:30:02 +05:30
|
|
|
# Below is the default list of network fstypes.
|
|
|
|
#
|
|
|
|
# afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
|
|
|
|
# nfs nfs4 ocfs2 shfs smbfs
|
|
|
|
#
|
|
|
|
# If you would like to add to this list, you can do so by adding your
|
|
|
|
# own fstypes to the following variable.
|
|
|
|
#extra_net_fs_list=""
|
2007-12-27 22:24:10 +05:30
|
|
|
|
2007-04-05 16:48:42 +05:30
|
|
|
##############################################################################
|
|
|
|
# SERVICE CONFIGURATION VARIABLES
|
|
|
|
# These variables are documented here, but should be configured in
|
|
|
|
# /etc/conf.d/foo for service foo and NOT enabled here unless you
|
|
|
|
# really want them to work on a global basis.
|
|
|
|
|
|
|
|
# Some daemons are started and stopped via start-stop-daemon.
|
2007-05-02 18:03:56 +05:30
|
|
|
# We can set some things on a per service basis, like the nicelevel.
|
|
|
|
#export SSD_NICELEVEL="-19"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2011-01-17 15:19:07 +05:30
|
|
|
# Pass ulimit parameters
|
2007-11-23 17:34:11 +05:30
|
|
|
#rc_ulimit="-u 30"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
|
|
|
# It's possible to define extra dependencies for services like so
|
2007-11-23 17:34:11 +05:30
|
|
|
#rc_config="/etc/foo"
|
|
|
|
#rc_need="openvpn"
|
|
|
|
#rc_use="net.eth0"
|
|
|
|
#rc_after="clock"
|
|
|
|
#rc_before="local"
|
2008-01-30 19:07:20 +05:30
|
|
|
#rc_provide="!net"
|
2007-12-27 22:24:10 +05:30
|
|
|
|
2008-01-02 21:12:52 +05:30
|
|
|
# You can also enable the above commands here for each service. Below is an
|
|
|
|
# example for service foo.
|
|
|
|
#rc_foo_config="/etc/foo"
|
|
|
|
#rc_foo_need="openvpn"
|
|
|
|
#rc_foo_after="clock"
|
2008-01-30 19:07:20 +05:30
|
|
|
|
|
|
|
# You can also remove dependencies.
|
|
|
|
# This is mainly used for saying which servies do NOT provide net.
|
|
|
|
#rc_net_tap0_provide="!net"
|
2011-01-06 11:33:43 +05:30
|
|
|
|