Replace mono6 with mono
This commit is contained in:
parent
4cc39850b9
commit
9261a24ae2
|
@ -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" ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue