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" ]; };