{"id":20208148,"url":"https://github.com/cubiclesoft/service-manager-src","last_synced_at":"2025-04-10T12:54:13.267Z","repository":{"id":145130005,"uuid":"59028596","full_name":"cubiclesoft/service-manager-src","owner":"cubiclesoft","description":"The source code to the world's first cross-platform, open source (MIT or LGPL), programming AND scripting language-agnostic solution to system service development.  Binaries:","archived":false,"fork":false,"pushed_at":"2022-12-29T14:43:29.000Z","size":145,"stargazers_count":18,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T11:38:45.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/cubiclesoft/service-manager","language":"C++","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/cubiclesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-05-17T14:12:16.000Z","updated_at":"2024-11-03T20:34:38.000Z","dependencies_parsed_at":"2024-04-14T01:23:30.272Z","dependency_job_id":null,"html_url":"https://github.com/cubiclesoft/service-manager-src","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cubiclesoft%2Fservice-manager-src","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cubiclesoft%2Fservice-manager-src/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cubiclesoft%2Fservice-manager-src/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cubiclesoft%2Fservice-manager-src/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cubiclesoft","download_url":"https://codeload.github.com/cubiclesoft/service-manager-src/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248221291,"owners_count":21067507,"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":[],"created_at":"2024-11-14T05:34:20.448Z","updated_at":"2025-04-10T12:54:13.261Z","avatar_url":"https://github.com/cubiclesoft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Service Manager (Source code)\n=============================\n\nThe source code to the world's first cross-platform, open source (MIT or LGPL), programming AND scripting language-agnostic solution to system service development.\n\nIf you are looking for binaries and instructions on using it, go here:\n\nhttps://github.com/cubiclesoft/service-manager\n\nFeatures\n--------\n\n* Statically compiled targets.\n* Local build and global install option for some platforms.\n* Has a liberal open source license.  MIT or LGPL, your choice.\n* Sits on GitHub for all of that pull request and issue tracker goodness to easily submit changes and ideas respectively.\n\nBuilding Service Manager\n------------------------\n\nFor some strange reason you are overcome by a bizarre desire to build this software product yourself.  There is no ./configure \u0026\u0026 make here.  Just good old-fashioned shell scripts.\n\nWindows (VC++ command-line):  build.bat\n\nMac (gcc):  build_mac.sh\n\nLinux and many variants (gcc):  build_nix.sh\n\nYou may need to chmod +x or something to get the script to run, but you already knew that.\n\nBuilding and Installing Locally\n-------------------------------\n\nThe primary target platform for Service Manager is the unified x86/x64 architecture (Windows, Mac, and Linux).  However, for *NIX platforms on other architectures (e.g. the fairly popular ARM architecture), Service Manager can be compiled and optionally installed on the target system.\n\nSimply run:\n\n```\n./build_nix.sh local\nsudo ./install_nix.sh\n```\n\nWhich will put the compiled binary at `/usr/local/bin/servicemanager` and the base service platform files into `/usr/share/servicemanager/`.\n\nWhen Service Manager is installed as described above, the Service Manager SDK will generally prefer using the installed version instead of binaries that are bundled with a project.\n\nTesting Service Manager\n-----------------------\n\nThere is a test PHP-based service that handles 'notify.stop' and 'notify.reload' commands.  It also supports - via the Service Manager PHP SDK - a couple of command-line options to make installation and removal easy:\n\n````\nphp test_service.php install\nphp test_service.php start\nphp test_service.php stop\nphp test_service.php uninstall\nphp test_service.php configdump\n````\n\nYou can, of course, write a test service in whatever language you want though.  It's simple and straightforward.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcubiclesoft%2Fservice-manager-src","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcubiclesoft%2Fservice-manager-src","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcubiclesoft%2Fservice-manager-src/lists"}