mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 04:40:04 +01:00
We have a nice man page so let's advertise it a bit by hooking it up in NetworkManager-dispatcher.service.
23 lines
696 B
SYSTEMD
23 lines
696 B
SYSTEMD
[Unit]
|
|
Description=Network Manager Script Dispatcher Service
|
|
Documentation=man:NetworkManager-dispatcher.service(8)
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.freedesktop.nm_dispatcher
|
|
ExecStart=@libexecdir@/nm-dispatcher
|
|
NotifyAccess=main
|
|
|
|
# Enable debug logging in dispatcher service. Note that dispatcher
|
|
# also honors debug logging requests from NetworkManager, so you
|
|
# can also control logging requests with
|
|
# `nmcli general logging domain DISPATCHER level TRACE`.
|
|
#Environment=NM_DISPATCHER_DEBUG_LOG=1
|
|
|
|
# We want to allow scripts to spawn long-running daemons, so tell
|
|
# systemd to not clean up when nm-dispatcher exits
|
|
KillMode=process
|
|
|
|
[Install]
|
|
Alias=dbus-org.freedesktop.nm-dispatcher.service
|
|
|