{"id":20316465,"url":"https://github.com/javinator9889/servicecreator","last_synced_at":"2025-07-22T13:04:55.925Z","repository":{"id":57465886,"uuid":"133143158","full_name":"Javinator9889/ServiceCreator","owner":"Javinator9889","description":"Create init.d services at your Debian-based distribution easily","archived":false,"fork":false,"pushed_at":"2018-05-18T07:43:10.000Z","size":87,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T09:02:50.273Z","etag":null,"topics":["creator","debian-scripts","init-system","linux","python","python3","service"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Javinator9889.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}},"created_at":"2018-05-12T12:15:24.000Z","updated_at":"2021-05-10T19:33:39.000Z","dependencies_parsed_at":"2022-09-19T08:31:28.089Z","dependency_job_id":null,"html_url":"https://github.com/Javinator9889/ServiceCreator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Javinator9889/ServiceCreator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FServiceCreator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FServiceCreator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FServiceCreator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FServiceCreator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Javinator9889","download_url":"https://codeload.github.com/Javinator9889/ServiceCreator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FServiceCreator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266499018,"owners_count":23938773,"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-22T02:00:09.085Z","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":["creator","debian-scripts","init-system","linux","python","python3","service"],"created_at":"2024-11-14T18:26:16.151Z","updated_at":"2025-07-22T13:04:55.907Z","avatar_url":"https://github.com/Javinator9889.png","language":"Python","readme":"# ServiceCreator\nCreate init.d services at your Debian-based distribution easily with this automatic tool.\n\n## How it works\n\nThis tool will allow you to *easily create* **init.d** scripts (*functions that will start on computer boot*) on your \nDebian based distributions (such as **Ubuntu**, **Raspbian**, etc).\n\nThe functionality of this tool is simple: *ask the user for some information about the service and create it with no \nmore user interaction*.\n\nThe tool works as follows:\n\n1. **Ask for service folder** if not found: the script will try to search *\"/etc/init.d/\"* folder. If not found, then \nwill request user for giving a **new folder** where scripts are installed.\n\n2. **Request a service name**, which is necessary for installation. If the provided service name exists, a *new name for\n the service will be asked* (as **there can not be two services** with the same name).\n \n3. **Ask for a command** that will execute your service. At this option, you are able to **load the command** from a \nfile (if the command you would like to add has multiple lines) If load option is chosen, the file *will be modified* \nand stored in *\"/usr/local/bin/\"* in order to be able to execute | see [\"Why root?\"](https://github.com/Javinator9889/ServiceCreator#why-root)\n\n4. **Request a short and a long description** for the service. The installation and execution process needs, at least,\na *short description*, and not necessary a long description. If you do not specify the long one, it will be a copy of \nthe short description.\n\n5. **Install and register** the service into the system. For this process, the tool *copies* and *registers* the new \nscript into the system, and enables it for running on boot.\n\nIf you want to know more about that services and process, see *[\"Why root?\"](https://github.com/Javinator9889/ServiceCreator#why-root)*\n\n## How to install\n\nYou have some methods in order to install this tool (all need *root access - get it by typing `su` or using `sudo`*):\n\n* Using `pip`:\n    \n    If you only have Python 3 installed:\n    ```bash\n    pip install ServiceCreator\n    # If \"pip\" not found:\n    pip3 install ServiceCreator\n    # If none of the above works:\n    python3 -m pip install ServiceCreator \n    # If \"python3\" not present, try with \"python\"\n    python -m pip install ServiceCreator\n    ```\n    If the above commands *are not present on your system*:\n    ```bash\n    apt-get install pip3\n    # If Python 3 not installed\n    apt-get install python3 pip3\n    ```\n    Then run the commands listed with `pip`\n* Using the `setup.py` method:\n    \n    - First, **download the file**:\n    \n        (Using `wget` and `unzip`):\n        ```bash\n        wget https://github.com/Javinator9889/ServiceCreator/archive/master.zip\n        unzip master.zip\n        cd master/\n        ```\n        If the above commands *are not present on your system*:\n        ```bash\n        apt-get install wget unzip\n        ```\n        \n        (Using `git`):\n        ```bash\n        git clone https://github.com/Javinator9889/ServiceCreator.git\n        cd ServiceCreator/\n        ```\n        If the above commands *are not present on your system*:\n        ```bash\n        apt-get install git\n        ```\n    \n    - Then, **install it** to your system:\n        ```bash\n        python3 setup.py install\n        # If the above does not work\n        python setup.py install\n        ```\n        If *commands not found*, you must install `Python 3` on your system:\n        ```bash\n        apt-get install python3\n        ```\n\nThis will install **the application** and **all its dependencies** to your system.\n\n## How to update\n\nAs in the [installation method](https://github.com/Javinator9889/ServiceCreator#how-to-install), to update you have two \noptions:\n\n1. If you installed via `pip`:\n    ```bash\n    pip install -U ServiceCreator\n    # If \"pip\" not found:\n    pip3 install -U ServiceCreator\n    # If none of the above works:\n    python3 -m pip -U install ServiceCreator \n    # If \"python3\" not present, try with \"python\"\n    python -m pip -U install ServiceCreator\n    ```\n\n2. If you installed via `setup.py`:\n    \n    First, you have to *download the new version available* following the steps described at the \n    *[installation method.](https://github.com/Javinator9889/ServiceCreator#how-to-install)*\n\n    Then, what you have to do is:\n    ```bash\n    python setup.py install\n    # If the above does not work\n    python3 setup.py install\n    ```\n\n## How to use it\n\nOnce the application *is installed on your system*, you will be able to run it by typing the following command:\n\n```bash\nservice_creator \n# or with sudo\nsudo service_creator\n```\n\n## Why root?\n\nThis application requires root for the following commands:\n* In _**/usr/local/bin/**_ for creating an executable file. If not, you can create that file by yourself with:\n    ```bash\n    nano your_script.sh\n    # Add your config here\n    chmod +x your_script.sh\n    sudo mv your_script.sh /usr/local/bin/your_script.sh    \n    ```\n* In _**/etc/init.d/**_ for moving your created service and registering it for running on boot. To perform this manually:\n    ```bash\n    service_creator -e /home/YOUR_USER/your_script.sh\n    # Create your service\n    sudo mv /home/YOUR_USER/your_script.sh /etc/init.d/your_script.sh\n    sudo update-rc.d your_script.sh defaults\n    ```\n    \nAlso you can give the application *root* permissions so it will be able to do that by itself.\n\n## I found an error or I want to contribute\nI would *love* to see how my application grows up, so feel free to create your **own version** of this app. Just *fork it* and make all the changes you want 😄\n\nAlso if you want to *add a new functionality* or *solve a bug*, you are free to open a **pull request** so I can merge the changes you have done.\n\n## How can I help?\n+ Feel free to *follow me at GitHub* 👥: I create a lot of projects and maybe you find someone interesting.\n+ *Start* ⭐ this project if you find it helpful 😄\n+ *Share it* with the people you think they will find interesting my job 🗣\n\n## License\nThis project is under *GNU General Public License v3.0*. You can read all **permissions**, **limitations** and **conditions** by [clicking here](https://github.com/Javinator9889/ServiceCreator/blob/master/LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavinator9889%2Fservicecreator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavinator9889%2Fservicecreator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavinator9889%2Fservicecreator/lists"}