TrueNAS CORETrueNAS CORE Community Release Documentation
This content documents the end of life 13.3 TrueNAS Community release. Archival documentation is provided for reference only and not actively maintained. Use the Product and Version selectors above to view content specific to another TrueNAS release.

Init/Shutdown Scripts

TasksInitShutdownScriptsAdd

Init/Shutdown Script

NameDescription
DescriptionComments about this script.
TypeSelect Command for an executable command or Script for an executable script.
CommandEnter the command with any options. When Script is selected, click the to define the path to the script file.
WhenPre Init is early in the boot process, after mounting filesystems and starting networking. Post Init is at the end of the boot process, before TrueNAS services start. Shutdown is during the system power off process.
EnabledEnable this task. Clear to disable the task without deleting it.
TimeoutAutomatically stop the script or command after the specified seconds.