Difference between revisions of "Rc.conf.ghostbsd"
From GhostBSD Wiki
(Created page with "{{welcome}} {{Navbar OpenRC}} ==Introduction== Category:Sysutils") |
(→Content) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Introduction== | ==Introduction== | ||
+ | Rc.conf.ghostbsd is used for Live-CD. | ||
+ | ==Content== | ||
+ | |||
+ | {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px" | ||
+ | |- | ||
+ | ! scope="col" style="width: 100px;"|'''Name''' | ||
+ | ! scope="col" style="width: 350px;"|'''Description''' | ||
+ | |- | ||
+ | |root_rw_mount="NO"||Set to "YES" by default. After the file systems are checked at boot time, the root file system is remounted as read-write if this is set to "YES". Diskless systems that mount their root file system from a read-only remote NFS share should set this to "NO" in their ''rc.conf''. | ||
+ | |- | ||
+ | |hostname="livecd"||Live-CD | ||
+ | |- | ||
+ | |sendmail_enable="NONE"||If set to "YES", run the [https://www.freebsd.org/cgi/man.cgi?query=sendmail&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sendmail(8)] daemon at system boot time. If set to "NO", do not run a [https://www.freebsd.org/cgi/man.cgi?query=sendmail&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sendmail(8)] daemon to listen for incoming network mail. This does not preclude a [https://www.freebsd.org/cgi/man.cgi?query=sendmail&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sendmail(8)] daemon listening on the SMTP port of the loopback interface. The "NONE" option is deprecated and should not be used. It will be removed in a future release. | ||
+ | |- | ||
+ | |sendmail_submit_enable="NO"||If set to "YES" and sendmail_enable is set to "NO", run [https://www.freebsd.org/cgi/man.cgi?query=sendmail&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sendmail(8)] using sendmail_submit_flags instead of sendmail_flags. This is intended to allow local mail submission via a localhost-only listening SMTP service required for running [https://www.freebsd.org/cgi/man.cgi?query=sendmail&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sendmail(8)] as a non-set-user-ID binary. Note that this does not work inside [https://www.freebsd.org/cgi/man.cgi?query=jail&sektion=2&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports jail(2)] systems, as jails do not allow binding to just the localhost interface. | ||
+ | |- | ||
+ | |sendmail_outbound_enable="NO"||If set to "YES" and both sendmail_enable and sendmail_submit_enable are set to "NO", run [https://www.freebsd.org/cgi/man.cgi?query=sendmail&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sendmail(8)] using sendmail_outbound_flags instead of sendmail_flags. This is intended to allow local mail queue management for systems that do not offer a listening SMTP service. | ||
+ | |- | ||
+ | |sendmail_msp_queue_enable="NO"||If set to "YES", start a client (MSP) queue runner sendmail(8) daemon at system boot time. As of sendmail 8.12, a separate queue is used for command line submissions. The client queue runner ensures that nothing is left behind in the submission queue. | ||
+ | |- | ||
+ | |devfs_system_ruleset="devfsrules_common"||Rule name(s) to apply to the system ''/dev'' itself. | ||
+ | |- | ||
+ | |kld_list="linux linux64 cuse"||kld_list: A list of kernel modules to load right after the local disks are mounted. Loading modules at this point in the boot process is much faster than doing it via /boot/loader.conf for those modules not necessary for mounting local disk. | ||
+ | |- | ||
+ | |ntpd_sync_on_start="YES"||sync time on start | ||
+ | |} | ||
Latest revision as of 12:03, 18 March 2020
Welcome to Rc.conf.ghostbsd. |
OpenRC | ||
---|---|---|
Scripts | ||
/etc/rc rc - shell |
/etc/rc.devd The generic hook into OpenRC. |
/sbin/rcorder Ordering rc-scripts |
/etc/init.d Scripts to run OpenRC |
/usr/local/etc/init.d Scripts to run OpenRC |
|
/etc/rc.d Scripts automatically executed at boot and shutdown |
/usr/local/etc/rc.d Special scripts |
|
Configuration | ||
/etc/devd.conf Configuration file for devd(8) |
/etc/conf.d Initscript Configuration Files |
/etc/rc.conf.d Smaller configuration files |
/etc/defaults/rc.conf Specifies the default settings for all the available options. |
/etc/rc.conf The global OpenRC configuration file |
/etc/rc.conf.ghostbsd GhostBSD specific configurations |
Tools/Helper | ||
/usr/sbin/sysrc Safely edit system rc files |
/bin/rc-status Shows which services are running |
/sbin/rc-update Add or delete services |
/sbin/rc-service Locate and run an OpenRC service |
||
Back to the System |
Introduction[edit]
Rc.conf.ghostbsd is used for Live-CD.
Content[edit]
Name | Description |
---|---|
root_rw_mount="NO" | Set to "YES" by default. After the file systems are checked at boot time, the root file system is remounted as read-write if this is set to "YES". Diskless systems that mount their root file system from a read-only remote NFS share should set this to "NO" in their rc.conf. |
hostname="livecd" | Live-CD |
sendmail_enable="NONE" | If set to "YES", run the sendmail(8) daemon at system boot time. If set to "NO", do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The "NONE" option is deprecated and should not be used. It will be removed in a future release. |
sendmail_submit_enable="NO" | If set to "YES" and sendmail_enable is set to "NO", run sendmail(8) using sendmail_submit_flags instead of sendmail_flags. This is intended to allow local mail submission via a localhost-only listening SMTP service required for running sendmail(8) as a non-set-user-ID binary. Note that this does not work inside jail(2) systems, as jails do not allow binding to just the localhost interface. |
sendmail_outbound_enable="NO" | If set to "YES" and both sendmail_enable and sendmail_submit_enable are set to "NO", run sendmail(8) using sendmail_outbound_flags instead of sendmail_flags. This is intended to allow local mail queue management for systems that do not offer a listening SMTP service. |
sendmail_msp_queue_enable="NO" | If set to "YES", start a client (MSP) queue runner sendmail(8) daemon at system boot time. As of sendmail 8.12, a separate queue is used for command line submissions. The client queue runner ensures that nothing is left behind in the submission queue. |
devfs_system_ruleset="devfsrules_common" | Rule name(s) to apply to the system /dev itself. |
kld_list="linux linux64 cuse" | kld_list: A list of kernel modules to load right after the local disks are mounted. Loading modules at this point in the boot process is much faster than doing it via /boot/loader.conf for those modules not necessary for mounting local disk. |
ntpd_sync_on_start="YES" | sync time on start |