{"id":13755174,"url":"https://github.com/onebeyond/systemic-service-runner","last_synced_at":"2025-04-12T01:14:25.806Z","repository":{"id":45470038,"uuid":"62791929","full_name":"onebeyond/systemic-service-runner","owner":"onebeyond","description":"Starts systemic services","archived":false,"fork":false,"pushed_at":"2023-07-15T12:32:08.000Z","size":405,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-12T01:14:18.631Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/onebeyond.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-07-07T09:03:14.000Z","updated_at":"2023-01-27T08:13:21.000Z","dependencies_parsed_at":"2024-02-10T23:31:47.760Z","dependency_job_id":"6815fe10-b769-49c8-a8bd-985d671a0c3d","html_url":"https://github.com/onebeyond/systemic-service-runner","commit_stats":null,"previous_names":["guidesmiths/systemic-service-runner"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-service-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-service-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-service-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-service-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onebeyond","download_url":"https://codeload.github.com/onebeyond/systemic-service-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501861,"owners_count":21114684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hacktoberfest"],"created_at":"2024-08-03T10:00:48.064Z","updated_at":"2025-04-12T01:14:25.777Z","avatar_url":"https://github.com/onebeyond.png","language":"JavaScript","funding_links":[],"categories":["Runners"],"sub_categories":[],"readme":"[![NPM version](https://img.shields.io/npm/v/systemic-service-runner.svg?style=flat-square)](https://www.npmjs.com/package/systemic-service-runner)\n[![NPM downloads](https://img.shields.io/npm/dm/systemic-service-runner.svg?style=flat-square)](https://www.npmjs.com/package/systemic-service-runner)\n[![Node.js CI](https://github.com/guidesmiths/systemic-service-runner/workflows/Node.js%20CI/badge.svg)](https://github.com/guidesmiths/systemic-service-runner/actions?query=workflow%3A%22Node.js+CI%22)\n[![Maintainability](https://api.codeclimate.com/v1/badges/e9fe57c5023dd0239626/maintainability)](https://codeclimate.com/github/cressie176/systemic-service-runner/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/e9fe57c5023dd0239626/test_coverage)](https://codeclimate.com/github/cressie176/systemic-service-runner/test_coverage)\n[![Code Style](https://img.shields.io/badge/code%20style-prettier-brightgreen.svg)](https://github.com/prettier/prettier)\n[![systemic-service-runner](https://snyk.io/advisor/npm-package/systemic-service-runner/badge.svg)](https://snyk.io/advisor/npm-package/systemic-service-runner)\n[![Discover zUnit](https://img.shields.io/badge/Discover-zUnit-brightgreen)](https://www.npmjs.com/package/zunit)\n\n# Systemic Service Runner\n\nStarts [systemic](https://github.com/guidesmiths/systemic) systems\n\n## TL;DR\n\n```js\nconst Systemic = require('systemic');\nconst runner = require('systemic-service-runner');\n\nconst system = new Systemic().add('config', { foo: 1, bar: 2 }).add('app', require('./my-app')).dependsOn('config');\n\nrunner(system).start((err, components) =\u003e {\n  if (err) throw err;\n  console.log('Started');\n});\n```\n\n## Features\n\n- Attempts to shutdown gracefully on error, unhandled rejection, SIGINT and SIGTERM events\n- Attempts a graceful restart when `process` emits a `systemic_restart` event\n\n## Usage\n\n```\nrunner(\u003csystem\u003e, [\u003coptions\u003e]).start(\u003ccb\u003e)\n```\n\n### Default options\n\n```js\n{\n    logger: console,\n    restart: {\n        window: '60s'\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fsystemic-service-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonebeyond%2Fsystemic-service-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fsystemic-service-runner/lists"}