Init Script

Init Script

In some cases it may be desirable to run custom commands at the beginning of the Centova Cast init script (/etc/init.d/centovacast), for example to set custom resource limits (via ulimit or similar) or to perform custom tasks at startup or shutdown.

Such commands may be added to /usr/local/centovacast/etc/init.local and will be automatically included at the beginning of the Centova Cast init script.

Note that because init.local is sourced at the very beginning of the init script, its commands will be invoked regardless of whether Centova Cast is being signaled to start, stop, restart, or perform some other valid or invalid action.