Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 462fcf338154
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5a523d70f653
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 7, 2020

  1. Copy the full SHA
    df059f8 View commit details

Commits on Jan 9, 2020

  1. Merge pull request #77158 from aanderse/mysql

    nixos/mysql: restart systemd service on abort
    flokli authored Jan 9, 2020
    Copy the full SHA
    5a523d7 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 nixos/modules/services/databases/mysql.nix
2 changes: 2 additions & 0 deletions nixos/modules/services/databases/mysql.nix
Original file line number Diff line number Diff line change
@@ -320,6 +320,8 @@ in
Type = if hasNotify then "notify" else "simple";
RuntimeDirectory = "mysqld";
RuntimeDirectoryMode = "0755";
Restart = "on-abort";
RestartSec = "5s";
# The last two environment variables are used for starting Galera clusters
ExecStart = "${mysql}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION";
ExecStartPost =