this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(wolumonde): add a timer and service to keep connection to the peer where nsid-tracker server is hosted on

dusk 73c245c2 4a993cf9

+17
+17
hosts/wolumonde/modules/nsid-tracker.nix
··· 38 38 # WorkingDirectory = "/mnt/data/nsid-tracker"; 39 39 # }; 40 40 # }; 41 + # 42 + 43 + systemd.services.nsid-tracker-keep-alive = { 44 + description = "keeps nsid-tracker peer connection alive"; 45 + wantedBy = [ "multi-user.target" ]; 46 + after = [ "network.target" ]; 47 + serviceConfig = { 48 + Type = "oneshot"; 49 + ExecStart = "${pkgs.curl}/bin/curl http://dusk-devel-mobi:${toString port}/events"; 50 + }; 51 + }; 52 + systemd.timers.nsid-tracker-keep-alive = { 53 + timerConfig = { 54 + OnCalendar = "*-*-* *:00/5:05"; 55 + Unit = "nsid-tracker-keep-alive.service"; 56 + }; 57 + }; 41 58 42 59 services.nginx.virtualHosts."gaze.systems" = { 43 60 locations."/nsid-tracker/api" = {