This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

rc.conf - Cheat Sheet - FreeNAS Archived

XigmaNAS Extensions / Add-ons

Moderator: crest

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
ldkraemer
Starter
Starter
Posts: 53
Joined: 26 Jun 2012 22:35
Status: Offline

rc.conf - Cheat Sheet - FreeNAS Archived

Post by ldkraemer »

rc.conf Cheat Sheet
by danmero » Sun Dec 07, 2008 3:27 pm

Copied from the Old FreeNAS Forum - So it is archived!


From FreeNAS 0.69 you can use rc.conf to change variables at boot time.

* The above image will increase the /var size from 32MB(default) to 64MB.
Name = varsize
Value = 64m
Comment = increase the /var RAM disk size from 32MB to 64MB.
* Change the rsync.log path from /var to a permanent location. Save space on /var and make the logs permanent.
Name = rsync_logfile
Value = /mnt/share/dir/rsync.log
Comment = Change rsync log location
* Use a custom fuppes configuration directory
Name: fuppes_configdir
Value: /mnt/share/dir/fuppes_configdir
Comment: Use a custom fuppes configuration directory
* Use a custom vfolder fuppes.cfg
Name: fuppes_vfolder_config
Value: /mnt/share/dir/fuppes.cfg
Comment: Use custom fuppes vfolder configuration.
* Increase lighttpd timeout
Name = lighttpd_server_maxwriteidle
Value = 1000
Comment = Increase server.max-write-idle from 360 seconds to 1000 seconds
* Change the transmission "admin" user-name
Name = transmission_remote_user
Value = newname
Comment = Change the transmission "admin" user-name
* Move log file location from /var to share
Name = mtdaapd_logfile
Value = /mnt/share/new/log.file
Comment = Move log file location from /var to share
* Move play list to a permanent location
Name = mtdaapd_playlist
Value = /mnt/share/location/new.playlist
Comment = Move play list to a permanent location
* Increase ATA-idle delay at boot from 60 seconds to 120 seconds
Name = ataidle_delay
Value = 120
* Change log file location using clog_logdir
Name=clog_logdir
Value=/mnt/share


What else you can change ? ... run the following command:

Code: Select all

awk -F'[=|$|{|:]' 'NF>2 && $1==$4' /etc/rc.d/*

Copied from the Old FreeNAS Forum - So it is archived!


Thanks.

Larry Kraemer

kfnas
Starter
Starter
Posts: 65
Joined: 06 Mar 2014 18:41
Status: Offline

Re: rc.conf - Cheat Sheet - FreeNAS Archived

Post by kfnas »

just to correct the current fuppes config in rc.conf


Name of the variable.
fuppes_config

Value
example: /mnt/ZFS/fuppes/fuppes.cfg

Post Reply

Return to “Extensions / Add-ons”