Replace mono6 with mono

This commit is contained in:
coolneng 2021-05-12 10:38:23 +02:00
parent 4cc39850b9
commit 9261a24ae2
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 5 deletions

View File

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