{"id":16301154,"url":"https://github.com/melezhik/service","last_synced_at":"2026-04-05T23:04:29.269Z","repository":{"id":150532494,"uuid":"62386985","full_name":"melezhik/service","owner":"melezhik","description":"Manages Linux services","archived":false,"fork":false,"pushed_at":"2018-05-07T19:32:01.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-20T08:02:08.776Z","etag":null,"topics":["alpine-linux","archlinux","configuration-management","debian","fedora","linux","service","sparrowdo","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melezhik.png","metadata":{"files":{"readme":"README.md","changelog":"Changes.md","contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2016-07-01T11:00:46.000Z","updated_at":"2018-05-07T19:32:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"ece10c7f-ec35-48bb-8798-38acbd112e10","html_url":"https://github.com/melezhik/service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/melezhik/service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2Fservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2Fservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2Fservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2Fservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melezhik","download_url":"https://codeload.github.com/melezhik/service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2Fservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271285506,"owners_count":24732923,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["alpine-linux","archlinux","configuration-management","debian","fedora","linux","service","sparrowdo","ubuntu"],"created_at":"2024-10-10T20:54:00.600Z","updated_at":"2025-12-30T21:42:08.498Z","avatar_url":"https://github.com/melezhik.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\nManages Linux services.\n\nThe list of supported actions:\n\n* start\n* stop\n* restart\n* enable\n* disable\n\n# Prerequisites\n\n* For Debian, Ubuntu a `chkconfig` utility should be installed.\n* For Alpine linux an `openrc` should be installed.\n* For Funtoo an `openrc` should be installed.\n\n# INSTALL\n\n    $ sparrow plg install service\n\n\n# USAGE\n\n\n## Manually\n\n\n    $ sparrow plg run service --param service=nginx --param action=enable\n    $ sparrow plg run service --param service=nginx --param action=start\n    $ sparrow plg run service --param service=nginx --param action=stop\n    $ # so on ...\n\n\n## Via Sparrowdo\n\n    $ cat sparrowfile\n\n    task_run %(\n      task =\u003e 'enable nginx service',\n      plugin =\u003e 'service',\n      parameters =\u003e %( action =\u003e 'enable', service =\u003e 'nginx' )\n    );\n    \n    task_run %(\n      task =\u003e 'start nginx service',\n      plugin =\u003e 'service',\n      parameters =\u003e %( action =\u003e 'start', service =\u003e 'nginx' )\n    );\n        \n\n# Parameters\n\n## service\n\nA service name.\n\n## action\n\nOne of five: `(enable|disable|start|stop|restart)`. Default value is `enable`. Should be set.\n\n# Platforms supported\n\n* Debian\n* Ubuntu\n* CentOS\n* Amazon Linux ( limited API, enable/disable actions are not yet supported )\n* Archlinux\n* Minoca\n* Funtoo\n\n# Author\n\n[Alexey Melezhik](mailto:melezhik@gmail.com)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelezhik%2Fservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelezhik%2Fservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelezhik%2Fservice/lists"}