{"id":15673494,"url":"https://github.com/lmammino/cube-daemons","last_synced_at":"2026-05-03T19:31:01.670Z","repository":{"id":15528339,"uuid":"18262885","full_name":"lmammino/cube-daemons","owner":"lmammino","description":"Installer to have square/cube running as daemons on a linux machine","archived":false,"fork":false,"pushed_at":"2014-10-03T18:30:35.000Z","size":321,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T05:43:34.702Z","etag":null,"topics":["bash","cube-daemons","daemons","installer","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmammino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-30T11:40:33.000Z","updated_at":"2014-10-03T18:29:54.000Z","dependencies_parsed_at":"2022-08-04T05:00:20.927Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/cube-daemons","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/lmammino/cube-daemons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcube-daemons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcube-daemons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcube-daemons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcube-daemons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/cube-daemons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcube-daemons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cube-daemons","daemons","installer","shell"],"created_at":"2024-10-03T15:40:57.483Z","updated_at":"2026-05-03T19:31:01.601Z","avatar_url":"https://github.com/lmammino.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"cube-daemons\n============\n\nThis repository will help you to install/uninstall [cube](https://github.com/square/cube) as a system services on a linux machine using [System V init scripts](http://refspecs.linuxfoundation.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html).\n\nBy using this installer you will be able to start/stop the cube collector and the cube evaluator as services:\n\n```bash\nsudo service cube-collector start|stop|restart\nsudo service cube-evaluator start|stop|restart\n```\n\n\n## Install\n\nThe installer assumes you've already installed [node.js](http://nodejs.org/), [npm](https://www.npmjs.org/) and [mongo](https://www.mongodb.org/) and that your node prefix is `/usr` (however you can specify a different one if needed).\n\nJust clone the repository with \n\n```bash\ngit clone https://github.com/lmammino/cube-daemons.git\n```\n\nThen run \n\n```bash\nsudo cube-daemons/install.sh\n```\n\nand it will do all the **hard work** for you.\n\nThe hard work means:\n\n - Install cube as global package\n - Creates a dedicate `cube` user that will be used to run the daemons\n - Copies configuration files\n - Copies the daemons start/stop file\n - Adds init scripts to start the daemons\n - Starts the daemons\n\n\nYou can customize the installation process by passing few options to the install script:\n\n - `-h` or `--help`: Display the help\n - `-n` or `--no-cube`: Avoid installing cube (useful if you already installed it)\n - `-p` or `--node-prefix=VALUE`: specify a custom node prefix (default \"/usr\")\n - `-c` or `--collector-config=VALUE`: specify a custom config file for the collector (default \"config/collector-config.js\")\n - `-e` or `--evaluator-config=VALUE`: specify a custom config file for the evaluator (default \"config/evaluator-config.js\")\n\n\n## Custom configuration files\n\nBy default the installer will copy the configuration files from the [config](/config) folder. If needed to provide different configuration files, you can customize them befor launching the installer or provide custom configuration files by using the `--collector-config` and `--evaluator-config` options.\n\nNote that the files will not be copied if you use the `--no-cube` option.\n\n## Uninstall\n\nJust run\n\n```bash\nsudo cube-daemons/uninstall.sh\n```\n\nTo clean up everything that has been installed previously\n\n\n## License\n\nThis code is distributed under the MIT license. Please refer to the [LICENSE](/LICENSE) file to read the full version.\n\nContributions are always (and really) appreciated :wink:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fcube-daemons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Fcube-daemons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fcube-daemons/lists"}