diff --git a/modules/services/mail/postfix.nix b/modules/services/mail/postfix.nix index ae85dd43f23..93596028678 100644 --- a/modules/services/mail/postfix.nix +++ b/modules/services/mail/postfix.nix @@ -283,7 +283,9 @@ in # accurate way is unlikely to be better. { description = "Postfix mail server"; - startOn = "started ${startingDependency}"; + startOn = "started ${startingDependency} and filesystems"; + + daemonType = "fork"; script = '' @@ -304,7 +306,7 @@ in ${pkgs.postfix}/sbin/postalias -c /var/postfix/conf /var/postfix/conf/aliases - ${pkgs.postfix}/sbin/postfix -c /var/postfix/conf start + exec ${pkgs.postfix}/sbin/postfix -c /var/postfix/conf start ''; # */ }; diff --git a/release.nix b/release.nix index e565e5b1d83..a0144cc7536 100644 --- a/release.nix +++ b/release.nix @@ -65,7 +65,7 @@ let in tarball // { meta = { - description = "NixOS system tarball for ${system} - ${platform.name}"; + description = "NixOS system tarball for ${system} - ${stdenv.platform.name}"; maintainers = map (x: lib.getAttr x lib.maintainers) maintainers; }; };