# Functions
Start run fwdctl in daemon mode The flow has the following steps: - Open the rules file - Create all the defined forwards - Start listening on rules file changes - When file changes: - Calculate the Diff between old and new ruleset - Delete unwanted forwards - Create wanted forawrds
- Listen for SIGTERM signals to gracefuly shutdown - When SIGTERM signal occurs: - Delete all the applied forwards - Shutdown the daemon.
Stop send a SIGTERM signal to the daemon process.