{"id":15905690,"url":"https://github.com/jirutka/spring-boot-openrc","last_synced_at":"2025-03-21T01:31:51.274Z","repository":{"id":65605237,"uuid":"63288172","full_name":"jirutka/spring-boot-openrc","owner":"jirutka","description":"OpenRC init script for Java applications based on Spring Boot","archived":false,"fork":false,"pushed_at":"2023-08-25T11:24:34.000Z","size":8,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T00:29:14.527Z","etag":null,"topics":["alpine-linux","gentoo","initscript","linux","openrc","spring-boot"],"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/jirutka.png","metadata":{"files":{"readme":"README.adoc","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-14T00:13:16.000Z","updated_at":"2024-05-30T09:00:11.000Z","dependencies_parsed_at":"2024-10-28T09:13:55.291Z","dependency_job_id":"476c8799-8545-4d80-96de-318b335d39fc","html_url":"https://github.com/jirutka/spring-boot-openrc","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"b0838fc0269434000032762c1139a059402ff5e3"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fspring-boot-openrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fspring-boot-openrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fspring-boot-openrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fspring-boot-openrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirutka","download_url":"https://codeload.github.com/jirutka/spring-boot-openrc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663655,"owners_count":20327305,"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":["alpine-linux","gentoo","initscript","linux","openrc","spring-boot"],"created_at":"2024-10-06T13:06:27.295Z","updated_at":"2025-03-21T01:31:51.009Z","avatar_url":"https://github.com/jirutka.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= OpenRC runscript for Spring Boot\nJakub Jirutka \u003chttps://github.com/jirutka[@jirutka]\u003e\n//custom\n:name: spring-boot-openrc\n:gh-name: jirutka/{name}\n\nThis is OpenRC runscript for Java applications based on http://projects.spring.io/spring-boot/[Spring Boot].\n\n\n== Requirements\n\n* https://wiki.gentoo.org/wiki/OpenRC[OpenRC]\n* Bash or Busybox’s ash (should work also with other POSIX shells)\n* http://www.dest-unreach.org/socat[socat] (not necessary, just to check availability of a TCP port)\n\n\n== Installation\n\n=== Alpine Linux\n\n. Add `edge/testing` repository (e.g. http://dl-cdn.alpinelinux.org/alpine/edge/testing) to `/etc/apk/repositories`, if you don’t have it yet, and run `apk update`.\n. Install https://pkgs.alpinelinux.org/package/edge/testing/x86_64/{name}[{name}]:\n\n[source, sh, subs=\"verbatim, attributes\"]\n apk add {name}\n\n=== Gentoo\n\n. Add https://github.com/cvut/gentoo-overlay[CTU’s Gentoo Overlay] to your repos.conf or Layman (read https://github.com/cvut/gentoo-overlay#usage[howto]).\n. `emerge -av dev-java/{name}`\n\n=== Manually\n\n. Install socat (optional):\n+\n[source, sh]\n----\nemerge -av net-misc/socat  # on Gentoo\napk add socat  # on Alpine\n----\n\n. Clone this repository and jump in:\n+\n[source, sh, subs=\"verbatim, attributes\"]\n----\ngit clone https://github.com/{gh-name}.git\ncd {name}\n----\n\n. Install runscript and example config:\n+\n    ./install\n+\nYou may use variable `DESTDIR` to specify the target directories.\n\n\n== How to use\n\n. Symlink runscript `{name}` for your application named e.g. `myapp`:\n+\n[source, sh, subs=\"verbatim, attributes\"]\n----\ncd /etc/init.d\nln -s {name} myapp\n----\n\n. Configure runscript for `myapp`:\n+\n[source, sh, subs=\"verbatim, attributes\"]\n----\ncp /etc/conf.d/{name} myapp\nvim /etc/conf.d/myapp\n----\n\n. Start myapp:\n+\n    rc-service myapp start\n\n\n== License\n\nThis project is licensed under http://opensource.org/licenses/MIT/[MIT License].\nFor the full text of the license, see the link:LICENSE[LICENSE] file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fspring-boot-openrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirutka%2Fspring-boot-openrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fspring-boot-openrc/lists"}