nixpkgs/modules/services/networking
Eelco Dolstra 96ba0ca283 For some units, use "systemctl restart" rather than "systemctl stop/start"
During a configuration switch, changed units are stopped in the old
configuration, then started in the new configuration (i.e. after
running the activation script and running "systemctl daemon-reload").
This ensures that services are stopped using the ExecStop/ExecStopPost
commands from the old configuration.

However, for some services it's undesirable to stop them; in
particular dhcpcd, which deconfigures its network interfaces when it
stops.  This is dangerous when doing remote upgrades - usually things
go right (especially because the switch script ignores SIGHUP), but
not always (see 9aa69885f0).  Likewise,
sshd should be kept running for as long as possible to prevent a
lock-out if the switch fails.

So the new option ‘stopIfChanged = false’ causes "systemctl restart"
to be used instead of "systemctl stop" followed by "systemctl start".
This is only proper for services that don't have stop commands.  (And
it might not handle dependencies properly in some cases, but I'm not
sure.)
2013-01-05 01:05:25 +01:00
..
ircd-hybrid renamed "all-interfaces" to "networking" 2012-03-04 18:44:42 +00:00
ssh For some units, use "systemctl restart" rather than "systemctl stop/start" 2013-01-05 01:05:25 +01:00
amuled.nix
avahi-daemon.nix avahi: Never set host-name' to the empty string in avahi-daemon.conf'. 2012-09-07 10:58:53 +02:00
bind.nix Use a dedicated user ('named') for BIND instead of running the daemon as super user. 2012-07-27 00:08:41 +02:00
bitlbee.nix BitlBee: Add `job.name'; cleanup white space. 2012-03-12 13:10:13 +00:00
cntlm.nix * Don't include the hostname in option default values. Default values 2012-06-08 14:29:31 +00:00
ddclient.nix * Use boot.kernelModules everywhere instead of explicit calls to 2012-03-17 17:26:17 +00:00
dhclient.nix * Revert r33928: veth* can also be a bridged interface requiring dhcp. 2012-04-30 17:46:11 +00:00
dhcpcd.nix For some units, use "systemctl restart" rather than "systemctl stop/start" 2013-01-05 01:05:25 +01:00
dhcpd.nix
dnsmasq.nix dnsmasq: Add extraConfig option 2012-11-12 18:16:04 +01:00
ejabberd.nix
firewall.nix Merge remote-tracking branch 'origin/master' into systemd 2012-11-30 16:12:04 +01:00
flashpolicyd.nix
git-daemon.nix
gnunet.nix
gogoclient.nix gogoclient: change working dir before starting 2012-12-28 10:22:49 +01:00
gvpe.nix
hostapd.nix - fix indention, clarify parameter descriptions, and use 'exec' instead of 'script' in the hostapd job 2012-10-09 12:19:09 -07:00
ifplugd.nix
nat.nix Backward compatibility hack for ‘networking.nat.internalIPs’ 2012-10-16 11:28:30 -04:00
networkmanager.nix networkmanager: Use systemctl instead of initctl 2012-12-30 19:30:18 +01:00
ntpd.nix Add an ip-up target for services that require IP connectivity 2012-08-15 15:38:52 -04:00
oidentd.nix
openfire.nix renamed "all-interfaces" to "networking" 2012-03-04 18:44:42 +00:00
openvpn.nix Fix the OpenVPN jobs 2012-08-30 21:11:36 -04:00
portmap.nix * Provide two utility functions in Upstart jobs: "ensure JOBNAME" 2012-03-17 19:12:33 +00:00
prayer.nix Fix prayer so it does not start a server at port 80. 2012-06-10 14:51:43 +00:00
privoxy.nix * Use boot.kernelModules everywhere instead of explicit calls to 2012-03-17 17:26:17 +00:00
quassel.nix
radvd.nix
rdnssd.nix
rpcbind.nix Update NFS client/server modules for systemd 2012-10-24 18:10:58 +02:00
sabnzbd.nix
tftpd.nix
unbound.nix
vsftpd.nix
wakeonlan.nix
wicd.nix
wpa_supplicant.nix wpa_supplicant.nix: Slightly improve descriptions 2012-11-02 17:05:30 +01:00
xinetd.nix Some additional xinetd settings. 2012-04-19 08:28:54 +00:00