{"action":"created","issue":{"url":"https://api.github.com/repos/bamru-truck/bamru_truck/issues/58","labels_url":"https://api.github.com/repos/bamru-truck/bamru_truck/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/bamru-truck/bamru_truck/issues/58/comments","events_url":"https://api.github.com/repos/bamru-truck/bamru_truck/issues/58/events","html_url":"https://github.com/bamru-truck/bamru_truck/pull/58","id":109692364,"number":58,"title":"Add process monitoring for TRACKER app","user":{"login":"andyl","id":90030,"avatar_url":"https://avatars.githubusercontent.com/u/90030?v=3","gravatar_id":"","url":"https://api.github.com/users/andyl","html_url":"https://github.com/andyl","followers_url":"https://api.github.com/users/andyl/followers","following_url":"https://api.github.com/users/andyl/following{/other_user}","gists_url":"https://api.github.com/users/andyl/gists{/gist_id}","starred_url":"https://api.github.com/users/andyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyl/subscriptions","organizations_url":"https://api.github.com/users/andyl/orgs","repos_url":"https://api.github.com/users/andyl/repos","events_url":"https://api.github.com/users/andyl/events{/privacy}","received_events_url":"https://api.github.com/users/andyl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-04T17:21:30Z","updated_at":"2015-10-04T19:05:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bamru-truck/bamru_truck/pulls/58","html_url":"https://github.com/bamru-truck/bamru_truck/pull/58","diff_url":"https://github.com/bamru-truck/bamru_truck/pull/58.diff","patch_url":"https://github.com/bamru-truck/bamru_truck/pull/58.patch"},"body":"The tracker app relies on three processes:\r\n1) the server (web application)\r\n2) the worker (sends email alerts)\r\n3) the tunnel (setup port forwarding)\r\n\r\nThis commit adds scripts that monitor and restart TRACKER processes in\r\ncase of failure.\r\n\r\nbin/check      - checks the status of processes and restarts if dead\r\nbin/cron_setup - runs 'bin/check' every minute\r\n\r\nThe `dashboard` script orchestrates everything:\r\n1) starts all processes and sets up cron\r\n2) display logfile output on tmux panels\r\n3) stops all server processes and disables cron upon exit\r\n\r\nNote:\r\n- if you 'detach' from the dashboard processes are not killed\r\n- cron will restart all processes upon reboot"},"comment":{"url":"https://api.github.com/repos/bamru-truck/bamru_truck/issues/comments/145377349","html_url":"https://github.com/bamru-truck/bamru_truck/pull/58#issuecomment-145377349","issue_url":"https://api.github.com/repos/bamru-truck/bamru_truck/issues/58","id":145377349,"user":{"login":"bamru-truck-builder","id":13598100,"avatar_url":"https://avatars.githubusercontent.com/u/13598100?v=3","gravatar_id":"","url":"https://api.github.com/users/bamru-truck-builder","html_url":"https://github.com/bamru-truck-builder","followers_url":"https://api.github.com/users/bamru-truck-builder/followers","following_url":"https://api.github.com/users/bamru-truck-builder/following{/other_user}","gists_url":"https://api.github.com/users/bamru-truck-builder/gists{/gist_id}","starred_url":"https://api.github.com/users/bamru-truck-builder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamru-truck-builder/subscriptions","organizations_url":"https://api.github.com/users/bamru-truck-builder/orgs","repos_url":"https://api.github.com/users/bamru-truck-builder/repos","events_url":"https://api.github.com/users/bamru-truck-builder/events{/privacy}","received_events_url":"https://api.github.com/users/bamru-truck-builder/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T19:05:06Z","updated_at":"2015-10-04T19:05:06Z","body":"Build triggered. sha1 is merged."}}