Commit Graph
43498 Commits
Author SHA1 Message Date
Eelco Dolstra 1aea92c4ce Ensure that ‘nix.gc.options’ is subject to shell expansion 2013-01-05 01:35:26 +01:00
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
Peter Simons 9e9cd7b529 Merge branch 'master' into stdenv-updates. 2013-01-04 21:00:53 +01:00
Peter Simons 440bc6ec2a all-packages.nix: strip trailing whitespace 2013-01-04 20:55:41 +01:00
Peter Simons fdf4dddac1 automake: add version 1.13.1 2013-01-04 20:51:45 +01:00
Peter Simons 7505cb5f9a gawk: update to 4.0.2 2013-01-04 20:39:54 +01:00
Peter Simons 796b5e3c9f gmp-5.x: update from 5.0.5 to 5.1.0 2013-01-04 20:38:11 +01:00
Peter Simons 7a92fde4f0 xmonad-extras: jailbreak to support recent versions of xmonad 2013-01-04 19:24:18 +01:00
Peter Simons 21dcee77c0 haskell-splot: update to version 0.3.8 2013-01-04 19:24:18 +01:00
Peter Simons e1a9fb4f98 haskell-SourceGraph: update to version 0.7.0.4 2013-01-04 19:24:17 +01:00
Peter Simons b5b85a462a haskell-zip-archive: update to version 0.1.3.3 2013-01-04 19:24:17 +01:00
Peter Simons e4127994c8 haskell-yesod-core: update to version 1.1.7.1 2013-01-04 19:24:17 +01:00
Peter Simons 2225e641b8 haskell-yaml: update to version 0.8.2 2013-01-04 19:24:17 +01:00
Peter Simons dcf34d73b3 haskell-xss-sanitize: update to version 0.3.3 2013-01-04 19:24:17 +01:00
Peter Simons 81bd4fe366 haskell-wai-extra: update to version 1.3.1.1 2013-01-04 19:24:17 +01:00
Peter Simons 23b52d157b haskell-wai-app-static: update to version 1.3.1 2013-01-04 19:24:17 +01:00
Peter Simons 4ff7cdeec7 haskell-tabular: update to version 0.2.2.4 2013-01-04 19:24:17 +01:00
Peter Simons a2c2dddf76 haskell-srcloc: update to version 0.4.0 2013-01-04 19:24:17 +01:00
Peter Simons d8efd50ae1 haskell-random-source: update to version 0.3.0.4 2013-01-04 19:24:16 +01:00
Peter Simons b3123e5ede haskell-random-fu: update to version 0.2.4.0 2013-01-04 19:24:16 +01:00
Peter Simons d7e9d418de haskell-persistent: update to version 1.1.3.2 2013-01-04 19:24:16 +01:00
Peter Simons 3e833fbf9c haskell-persistent-template: update to version 1.1.2.1 2013-01-04 19:24:16 +01:00
Peter Simons 266f63884f haskell-mainland-pretty: update to version 0.2.5 2013-01-04 19:24:16 +01:00
Peter Simons d995882f94 haskell-liblastfm: update to version 0.1.0.0 2013-01-04 19:24:16 +01:00
Peter Simons 786c925f73 haskell-language-c-quote: update to version 0.4.4 2013-01-04 19:24:16 +01:00
Peter Simons 83d0f9c54b haskell-http-date: update to version 0.0.4 2013-01-04 19:24:16 +01:00
Peter Simons 35fbdd0e8c haskell-http-conduit: update to version 1.8.6.1 2013-01-04 19:24:16 +01:00
Peter Simons 4f6765224c haskell-hsemail: update to version 1.7.4 2013-01-04 19:24:15 +01:00
Peter Simons 919e80809f haskell-heist: update to version 0.10.2.1 2013-01-04 19:24:15 +01:00
Peter Simons 53019390d1 haskell-graphviz: update to version 2999.15.0.1 2013-01-04 19:24:15 +01:00
Peter Simons 6f6cce58fe haskell-gitit: update to version 0.10.1.1 2013-01-04 19:24:15 +01:00
Peter Simons 1c8bd5c4bb haskell-fsnotify: update to version 0.0.5 2013-01-04 19:24:15 +01:00
Peter Simons cfbd7b04fb haskell-filestore: update to version 0.6 2013-01-04 19:24:15 +01:00
Peter Simons 02362d7064 haskell-file-embed: update to version 0.0.4.7 2013-01-04 19:24:15 +01:00
Peter Simons 7465fcb13f haskell-double-conversion: update to version 0.2.0.6 2013-01-04 19:24:15 +01:00
Peter Simons 0e641a6be9 haskell-digestive-functors-heist: update to version 0.5.1.1 2013-01-04 19:24:14 +01:00
Peter Simons 4e4b37391a haskell-dataenc: update to version 0.14.0.5 2013-01-04 19:24:14 +01:00
Peter Simons 51d2037ebc haskell-cryptohash: update to version 0.8.3 2013-01-04 19:24:14 +01:00
Peter Simons a17b729ebe haskell-crypto-random-api: update to version 0.2.0 2013-01-04 19:24:14 +01:00
Peter Simons 52867cbbda haskell-cprng-aes: update to version 0.3.2 2013-01-04 19:24:14 +01:00
Peter Simons eada7c6434 haskell-conduit: update to version 0.5.6 2013-01-04 19:24:14 +01:00
Peter Simons 7035074f8c haskell-clientsession: update to version 0.8.0.2 2013-01-04 19:24:14 +01:00
Peter Simons bb0d531fa3 haskell-classy-prelude: update to version 0.4.3 2013-01-04 19:24:13 +01:00
Peter Simons d94ffba8b8 haskell-classy-prelude-conduit: update to version 0.4.3 2013-01-04 19:24:13 +01:00
Peter Simons d2cc7f2467 haskell-cautious-file: update to version 1.0.2 2013-01-04 19:24:13 +01:00
Peter Simons 7459971e05 haskell-basic-prelude: update to version 0.3.2.0 2013-01-04 19:24:13 +01:00
Peter Simons 40d7add812 haskell-Graphalyze: update to version 0.14.0.0 2013-01-04 19:24:13 +01:00
Peter Simons ae444b8eb8 haskell-Diff: update to version 0.2.0 2013-01-04 19:24:12 +01:00
Peter Simons 70b6b15215 git-annex: update to version 3.20130102 2013-01-04 19:24:09 +01:00
Peter Simons cb329d1cd2 git: update to version 1.8.1 2013-01-04 19:24:04 +01:00