0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

phpfpm service: remove NoNewPrivileges systemd option

This interferes with sendmail because suid won't work. Fixes #26611.
This commit is contained in:
Franz Pletz 2017-08-21 19:24:17 +02:00
parent 775a7944c5
commit cfb716e6a5
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -150,7 +150,6 @@ in {
PrivateDevices = true;
ProtectSystem = "full";
ProtectHome = true;
NoNewPrivileges = true;
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
Type = "notify";
ExecStart = "${cfg.phpPackage}/bin/php-fpm -y ${cfgFile} -c ${phpIni}";