at master 443 B view raw
1{ pkgs, ... }: 2{ 3 name = "anuko-time-tracker"; 4 meta = { 5 maintainers = with pkgs.lib.maintainers; [ ]; 6 }; 7 nodes = { 8 machine = { 9 services.anuko-time-tracker.enable = true; 10 }; 11 }; 12 testScript = '' 13 start_all() 14 machine.wait_for_unit("phpfpm-anuko-time-tracker") 15 machine.wait_for_open_port(80); 16 machine.wait_until_succeeds("curl -s --fail -L http://localhost/time.php | grep 'Anuko Time Tracker'") 17 ''; 18}