# phpman > man > networkd-dispatcher(8)

[NETWORKD-DISPATCHER(8)](https://www.chedong.com/phpMan.php/man/NETWORKD-DISPATCHER/8/markdown)                                                        [NETWORKD-DISPATCHER(8)](https://www.chedong.com/phpMan.php/man/NETWORKD-DISPATCHER/8/markdown)



## NAME
       networkd-dispatcher - Dispatcher service for systemd-networkd connection status changes

## SYNOPSIS
       **networkd-dispatcher** [-h] [-S _SCRIPT_DIR_] [-T] [-v] [-q]

## DESCRIPTION
       Dispatcher daemon for systemd-networkd connection status changes. This daemon is similar to
       NetworkManager-dispatcher, but is much more limited in the types of events it supports due to
       the limited nature of [_systemd-networkd(8)](https://www.chedong.com/phpMan.php/man/systemd-networkd/8/markdown)_.

       Desired actions (scripts) are placed into directories that reflect systemd-networkd
       operational states under _SCRIPT_DIR_ and are executed when the daemon receives the relevant
       event from systemd-networkd.

       The daemon listens for signals from systemd-networkd over dbus, so it should be very light on
       resources (e.g. no polling). It is meant to be run as a system-wide daemon (as root). This
       allows it to be used for tasks such as starting a VPN after a connection is established.

## OPTIONS
### -h, --help
           Print command-line syntax and program options to stdout.

### -S, --script-dir=
           Location under which to look for scripts. Like the _PATH_ environment variable, this may
           contain multiple directories separated by : and in case multiple directories have scripts
           with the same name, the earliest directory wins. Defaults to
           /etc/networkd-dispatcher:/usr/lib/networkd-dispatcher.

### -T, --run-startup-triggers
           Generate events reflecting preexisting state and behavior on startup. This can be used to
           ensure that triggers are belatedly run even if networkd-dispatcher is invoked after
           systemd-networkd has already started an interface.

### -v, --verbose
           Increase verbosity by one level. The default level is _WARNING_. Each use of _-v_ will
           increment the log level (towards _INFO_ or _DEBUG_), and each use of _-q_ will decrement it
           (towards _ERROR_ or _CRITICAL_).

### -q, --quiet
           Decrease verbosity by one level.

## CONFIGURATION FILES
       The systemd service reads _/etc/default/networkd-dispatcher_ as an environment file for
       additional daemon arguments.

       The scripts to be run on network changes are in subdirectories _routable.d/_, _dormant.d/_,
       _no-carrier.d/_, _off.d/_, _carrier.d/_, _degraded.d/_, _configured.d_, _configuring.d/_ inside
       _SCRIPT_DIR_. The default value for _SCRIPT_DIR_ is
       _/etc/networkd-dispatcher:/usr/lib/networkd-dispatcher_.

       For information about the network operational states exposed by systemd, see [networkctl(1)](https://www.chedong.com/phpMan.php/man/networkctl/1/markdown).

## RESOURCES
       GitHub: <https://github.com/craftyguy/networkd-dispatcher>

## SEE ALSO
       [systemd-networkd(8)](https://www.chedong.com/phpMan.php/man/systemd-networkd/8/markdown), [networkctl(1)](https://www.chedong.com/phpMan.php/man/networkctl/1/markdown)



                                             05/04/2022                       [NETWORKD-DISPATCHER(8)](https://www.chedong.com/phpMan.php/man/NETWORKD-DISPATCHER/8/markdown)
