From c7730dde577da99d5532c9ca358d31f4ad42caf8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 19 Feb 2024 11:17:09 +0100 Subject: Switch dev/nix instance to master Fix missing semicolon --- .../services/spacebar-server.nix | 72 +++++++++++----------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'host/Spacebar-nginx/containers/spacebar-server-dev-nix/services/spacebar-server.nix') diff --git a/host/Spacebar-nginx/containers/spacebar-server-dev-nix/services/spacebar-server.nix b/host/Spacebar-nginx/containers/spacebar-server-dev-nix/services/spacebar-server.nix index 1debbbd..aaa1396 100755 --- a/host/Spacebar-nginx/containers/spacebar-server-dev-nix/services/spacebar-server.nix +++ b/host/Spacebar-nginx/containers/spacebar-server-dev-nix/services/spacebar-server.nix @@ -21,52 +21,52 @@ wantedBy = [ "multi-user.target" ]; after = [ "resolvconf.target" "postgresql.service" "rabbitmq.service" ]; serviceConfig = { - ExecStart = '' - ${spacebar-server.packages.${pkgs.system}.default}/bin/start-api - ''; - #Restart = "never"; - User = "spacebar"; - WorkingDirectory = "/var/lib/spacebar-server"; - Environment = [ - "DATABASE=postgres://spacebar:spacebar@127.0.0.1/spacebar" - "LOG_REQUESTS='-'" - #"DB_LOGGING='true'" - ]; - }; + ExecStart = '' + ${spacebar-server.packages.${pkgs.system}.default}/bin/start-api + ''; + #Restart = "never"; + User = "spacebar"; + WorkingDirectory = "/var/lib/spacebar-server"; + Environment = [ + "DATABASE=postgres://spacebar:spacebar@127.0.0.1/spacebar" + "LOG_REQUESTS='-'" + #"DB_LOGGING='true'" + ]; + }; }; "spacebar-server-gateway" = { wantedBy = [ "multi-user.target" ]; after = [ "resolvconf.target" "postgresql.service" "rabbitmq.service" "spacebar-server-api.service" ]; serviceConfig = { - ExecStart = '' - ${spacebar-server.packages.${pkgs.system}.default}/bin/start-gateway - ''; - #Restart = "never"; - User = "spacebar"; - WorkingDirectory = "/var/lib/spacebar-server"; - Environment = [ - "DATABASE=postgres://spacebar:spacebar@127.0.0.1/spacebar" - "LOG_REQUESTS='-'" - #"DB_LOGGING='true'" - ]; - }; + ExecStart = '' + ${spacebar-server.packages.${pkgs.system}.default}/bin/start-gateway + ''; + #Restart = "never"; + User = "spacebar"; + WorkingDirectory = "/var/lib/spacebar-server"; + Environment = [ + "DATABASE=postgres://spacebar:spacebar@127.0.0.1/spacebar" + "LOG_REQUESTS='-'" + #"DB_LOGGING='true'" + ]; + }; }; "spacebar-server-cdn" = { wantedBy = [ "multi-user.target" ]; after = [ "resolvconf.target" "postgresql.service" "rabbitmq.service" "spacebar-server-api.service" ]; serviceConfig = { - ExecStart = '' - ${spacebar-server.packages.${pkgs.system}.default}/bin/start-cdn - ''; - #Restart = "never"; - User = "spacebar"; - WorkingDirectory = "/var/lib/spacebar-server"; - Environment = [ - "DATABASE=postgres://spacebar:spacebar@127.0.0.1/spacebar" - "LOG_REQUESTS='-'" - #"DB_LOGGING='true'" - ]; - }; + ExecStart = '' + ${spacebar-server.packages.${pkgs.system}.default}/bin/start-cdn + ''; + #Restart = "never"; + User = "spacebar"; + WorkingDirectory = "/var/lib/spacebar-server"; + Environment = [ + "DATABASE=postgres://spacebar:spacebar@127.0.0.1/spacebar" + "LOG_REQUESTS='-'" + #"DB_LOGGING='true'" + ]; + }; }; }; -- cgit 1.4.1