{"id":15039088,"url":"https://github.com/nikoo-asadnejad/sample-dotnet-systemdservice","last_synced_at":"2026-02-05T06:03:42.698Z","repository":{"id":230580550,"uuid":"779694290","full_name":"Nikoo-Asadnejad/sample-dotnet-systemdservice","owner":"Nikoo-Asadnejad","description":"This repository contains the configuration file for a systemd unit used to host a .NET application on a Linux distribution. Systemd is an init system that provides a standard process for controlling what programs run when a Linux system boots up, making it ideal for managing and maintaining long-running applications, like those built in .NET.","archived":false,"fork":false,"pushed_at":"2024-09-19T16:41:46.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T00:01:25.151Z","etag":null,"topics":["bash-script","dotnet","dotnetcore","linux","linux-shell","shel","shell-script","systemd","systemd-service","systemd-unit"],"latest_commit_sha":null,"homepage":"","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/Nikoo-Asadnejad.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":"2024-03-30T14:45:47.000Z","updated_at":"2024-09-23T14:50:21.000Z","dependencies_parsed_at":"2024-03-30T16:27:25.809Z","dependency_job_id":"096c711d-a3f7-4084-9686-e683c76d6f73","html_url":"https://github.com/Nikoo-Asadnejad/sample-dotnet-systemdservice","commit_stats":null,"previous_names":["nikoo-asadnejad/sample-dotnet-systemdservice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikoo-Asadnejad%2Fsample-dotnet-systemdservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikoo-Asadnejad%2Fsample-dotnet-systemdservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikoo-Asadnejad%2Fsample-dotnet-systemdservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikoo-Asadnejad%2Fsample-dotnet-systemdservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikoo-Asadnejad","download_url":"https://codeload.github.com/Nikoo-Asadnejad/sample-dotnet-systemdservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131322,"owners_count":21052819,"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":["bash-script","dotnet","dotnetcore","linux","linux-shell","shel","shell-script","systemd","systemd-service","systemd-unit"],"created_at":"2024-09-24T20:41:32.047Z","updated_at":"2026-02-05T06:03:42.674Z","avatar_url":"https://github.com/Nikoo-Asadnejad.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .Net Systemd Unit\n\nThis repository contains the configuration file for a systemd unit used to host a .NET application on a Linux distribution. Systemd is an init system that provides a standard process for controlling what programs run when a Linux system boots up, making it ideal for managing and maintaining long-running applications, like those built in .NET.\n\n## Overview: \nThis configuration file simplifies the process of deploying and managing .NET applications on Linux servers. It ensures that your .NET application is started as a service, restarted automatically if it crashes, and controlled via standard systemd commands (e.g., start, stop, restart, enable, and disable).\n\n## Usage :\nRename ServiceName and Path in file.\n\u003c/br\u003e\n\nAdd The File To :\n\u003c/br\u003e\n`/etc/systemd/system/myapp.service`\n\nReload Systemd:\n```bash\nsudo systemctl daemon-reload\n```\n\nEnable and Start The Service:\n```bash\nsudo systemctl enable myapp.service\nsudo systemctl start myapp.service\n```\n\nCheck the Status:\n```bash\nsudo systemctl status myapp.service\n```\nLogs and Troubleshooting:\n```bash\njournalctl -u myapp.service -e\n```\n\nRestart the service:\n```bash\nsudo systemctl restart myapp.service\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikoo-asadnejad%2Fsample-dotnet-systemdservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikoo-asadnejad%2Fsample-dotnet-systemdservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikoo-asadnejad%2Fsample-dotnet-systemdservice/lists"}