From 9247b444929061f32be9b003621e1da555ebc770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 3 Jun 2019 13:25:26 +0200 Subject: Fix files watcher path --- lib/private/default.nix | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/private') diff --git a/lib/private/default.nix b/lib/private/default.nix index b04f7b3..c7d753a 100644 --- a/lib/private/default.nix +++ b/lib/private/default.nix @@ -17,17 +17,4 @@ echo } ''; - - phpFpmPreStart = { app, varDir, keyFiles, actions }: '' - if [ ! -f "${varDir}/currentWebappDir" -o \ - ! -f "${varDir}/currentKey" -o \ - "${app}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ] \ - || ! sha512sum -c --status ${varDir}/currentKey; then - pushd ${app} > /dev/null - ${builtins.concatStringsSep "\n " actions} - popd > /dev/null - echo -n "${app}" > ${varDir}/currentWebappDir - sha512sum ${builtins.concatStringsSep " " keyFiles} > ${varDir}/currentKey - fi - ''; } -- cgit v1.2.3