From 9261a24ae2dc829372b4fad2b97f692633a37461 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 12 May 2021 10:38:23 +0200 Subject: [PATCH] Replace mono6 with mono --- modules/webstack.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/webstack.nix b/modules/webstack.nix index 3940ad2..909184b 100644 --- a/modules/webstack.nix +++ b/modules/webstack.nix @@ -104,12 +104,10 @@ systemd.services.mono-server = { description = "Mono server to run ASP .NET applications"; wantedBy = [ "default.target" ]; - path = with pkgs; [ mono6 ]; + path = with pkgs; [ mono ]; script = '' - gcw_lockfile=/tmp/mono-service-gcw - few_lockfile=/tmp/mono-service-few - ${pkgs.mono6}/bin/mono-service --applications /:/vault/backups/frontend/inetpub/wwwroot/gcw -l:$gcw_lockfile --socket=tcp:127.0.0.1:9000 - ${pkgs.mono6}/bin/mono-service --applications /:/vault/backups/frontend/inetpub/wwwroot/few -l:$few_lockfile --socket=tcp:127.0.0.1:9001 + ${pkgs.mono}/bin/mono-service --applications /:/vault/backups/frontend/inetpub/wwwroot/gcw --socket=tcp:127.0.0.1:9000 + ${pkgs.mono}/bin/mono-service --applications /:/vault/backups/frontend/inetpub/wwwroot/few --socket=tcp:127.0.0.1:9001 ''; before = [ "nginx.service" ]; };