From eaa6c57cd7aa06311a12cb76fae7e82976c7b865 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 27 Apr 2017 18:59:15 +0200 Subject: l 2 websites domsen: remove old restart wrappers --- lass/2configs/websites/domsen.nix | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'lass') diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index a5c51735a..581b37d91 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -21,22 +21,6 @@ let exec ${pkgs.msmtp}/bin/msmtp --read-envelope-from -C ${msmtprc} "$@" ''; - restartPhpfpm_o.ubikmedia = pkgs.writeDash "restartPhpfpm_o.ubikmedia.org" '' - ${pkgs.systemd}/bin/systemctl restart phpfpm-o.ubikmedia.de.service - ''; - - restartPhpfpm_o.ubikmedia_wrapper = pkgs.writeDashBin "restartPhpfpm_o.ubikmedia" '' - /run/wrappers/bin/sudo ${restartPhpfpm_o.ubikmedia} - ''; - - restartPhpfpm_ubikmedia = pkgs.writeDash "restartPhpfpm_ubikmedia.org" '' - ${pkgs.systemd}/bin/systemctl restart phpfpm-ubikmedia.de.service - ''; - - restartPhpfpm_ubikmedia_wrapper = pkgs.writeDashBin "restartPhpfpm_ubikmedia" '' - /run/wrappers/bin/sudo ${restartPhpfpm_ubikmedia} - ''; - in { imports = [ ./sqlBackup.nix @@ -180,16 +164,5 @@ in { createHome = true; }; - #sudo restart wrappers - security.sudo.extraConfig = '' - domsen ALL= (root) NOPASSWD: ${restartPhpfpm_o.ubikmedia} - domsen ALL= (root) NOPASSWD: ${restartPhpfpm_ubikmedia} - ''; - - krebs.per-user.domsen.packages = [ - restartPhpfpm_ubikmedia_wrapper - restartPhpfpm_o.ubikmedia_wrapper - ]; - } -- cgit v1.2.3