unit: 1.29.1 -> 1.30.0

This commit is contained in:
Izorkin 2023-05-13 11:14:13 +03:00
parent 1f68716877
commit baa5550162
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09
2 changed files with 3 additions and 7 deletions

View file

@ -104,7 +104,7 @@ in {
PIDFile = "/run/unit/unit.pid";
ExecStart = ''
${cfg.package}/bin/unitd --control 'unix:/run/unit/control.unit.sock' --pid '/run/unit/unit.pid' \
--log '${cfg.logDir}/unit.log' --state '${cfg.stateDir}' --tmp '/tmp' \
--log '${cfg.logDir}/unit.log' --statedir '${cfg.stateDir}' --tmpdir '/tmp' \
--user ${cfg.user} --group ${cfg.group}
'';
ExecStop = ''

View file

@ -30,14 +30,14 @@ let
php82-unit = php82.override phpConfig;
in stdenv.mkDerivation rec {
version = "1.29.1";
version = "1.30.0";
pname = "unit";
src = fetchFromGitHub {
owner = "nginx";
repo = pname;
rev = version;
sha256 = "sha256-Jk/rzPJq1FWWTe31Fa2Ah+MoWP5mh6XNSmiYIY42vvk=";
sha256 = "sha256-QLTzlW1OsU+gwaPKozLcBKfuTXbYg1ONqTVZpGX6mrQ=";
};
nativeBuildInputs = [ which ];
@ -78,10 +78,6 @@ in stdenv.mkDerivation rec {
${optionalString withRuby_3_1 "./configure ruby --module=ruby31 --ruby=${ruby_3_1}/bin/ruby"}
'';
postInstall = ''
rmdir $out/state
'';
passthru.tests.unit-php = nixosTests.unit-php;
meta = {