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 strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
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 * Change all the startOn / stopOn attributes to the Upstart 0.6 syntax 2009-11-06 22:19:17 +00:00
dnsmasq.nix dnsmasq: Add extraConfig option 2012-11-12 18:16:04 +01:00
ejabberd.nix ejabberd: tabs->spaces, remove trailing whitespace 2011-02-16 21:03:14 +00:00
firewall.nix Merge remote-tracking branch 'origin/master' into systemd 2012-11-30 16:12:04 +01:00
flashpolicyd.nix * Add a module for a Flash policy server. 2011-09-15 15:13:46 +00:00
git-daemon.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
gnunet.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
gogoclient.nix gogoclient: change working dir before starting 2012-12-28 10:22:49 +01:00
gvpe.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
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 * Fix incorrect default value. 2012-02-20 16:53:44 +00:00
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 * Added a module for oidentd. 2011-11-10 23:06:24 +00:00
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 Quassel: fix package name 2011-10-31 12:48:59 +00:00
radvd.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
rdnssd.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
rpcbind.nix Update NFS client/server modules for systemd 2012-10-24 18:10:58 +02:00
sabnzbd.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
tftpd.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
unbound.nix Adding extraConfig to unbound 2011-11-03 18:49:54 +00:00
vsftpd.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
wakeonlan.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
wicd.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
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