{"id":18774852,"url":"https://github.com/gdvalle/mkservice","last_synced_at":"2025-07-23T21:37:45.598Z","repository":{"id":181660283,"uuid":"443636392","full_name":"gdvalle/mkservice","owner":"gdvalle","description":"A CLI tool to create a simple system service.","archived":false,"fork":false,"pushed_at":"2023-07-16T17:00:25.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T02:55:58.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/gdvalle.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-01T22:34:19.000Z","updated_at":"2022-01-07T16:43:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"82303617-e212-458e-ace4-9fe20fe72248","html_url":"https://github.com/gdvalle/mkservice","commit_stats":null,"previous_names":["gdvalle/mkservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gdvalle/mkservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdvalle%2Fmkservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdvalle%2Fmkservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdvalle%2Fmkservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdvalle%2Fmkservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdvalle","download_url":"https://codeload.github.com/gdvalle/mkservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdvalle%2Fmkservice/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266753932,"owners_count":23979144,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-07T19:39:32.375Z","updated_at":"2025-07-23T21:37:45.577Z","avatar_url":"https://github.com/gdvalle.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkservice\n\nA CLI utility to stamp out a basic systemd service.\n\n## Usage\n\n```\nUSAGE:\n    mkservice [OPTIONS] \u003cNAME\u003e [COMMAND]...\n\nARGS:\n    \u003cNAME\u003e          \n    \u003cCOMMAND\u003e...    \n\nOPTIONS:\n    -e, --env \u003cENV\u003e        \n    -h, --help             Print help information\n        --level \u003cLEVEL\u003e    [default: system] [possible values: user, system]\n    -V, --version          Print version information\n```\n\nAn example:\n\n```\nmkservice --env LOG_LEVEL=debug --env SECRET=abc myprogram /usr/local/bin/myprogram -- pos_arg --flag-arg\n```\n\nWould write out `/etc/systemd/system/myprogram.service`, reload systemd, and enable the service for start on next boot:\n\n```ini\n[Unit]\nDescription=myprogram\n[Install]\nWantedBy=multi-user.target\n[Service]\nEnvironment=LOG_LEVEL=debug\nEnvironment=SECRET=abc\nExecStart=\"/usr/local/bin/myprogram\" \"pos_arg\" \"--flag-arg\"\nType=simple\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdvalle%2Fmkservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdvalle%2Fmkservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdvalle%2Fmkservice/lists"}