Synology DS forced to stay awake #3630

Closed
opened 2025-11-02 05:20:04 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Kasurus on GitHub (Jul 20, 2019).

  • Gitea version (or commit ref): 1.8.3 (installed as SPK package)
  • Git version: 2.19.2-0120
  • Operating system: Synology Diskstation 215j
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I configured my Synology DS to go to hibernation after 20 min of no activity. But since i installed Gitea, the DS does not do that anymore. I can stop the Gitea package in the synology package centre and hibernation is working again. But then i have to start the package back up when i want to use Gitea, which takes quite a while.

I am worried about reducing the lifetime of my hard drives and unnecessarily high energy consumption.

If this is needed for other platforms, it would be nice to have an option to run Gitea on a Synology DS without Gitea forcing the DS to stay awake.

Originally created by @Kasurus on GitHub (Jul 20, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.8.3 (installed as [SPK package](https://github.com/flipswitchingmonkey/gitea-spk)) - Git version: 2.19.2-0120 - Operating system: Synology Diskstation 215j - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description I configured my Synology DS to go to hibernation after 20 min of no activity. But since i installed Gitea, the DS does not do that anymore. I can stop the Gitea package in the synology package centre and hibernation is working again. But then i have to start the package back up when i want to use Gitea, which takes quite a while. I am worried about reducing the lifetime of my hard drives and unnecessarily high energy consumption. If this is needed for other platforms, it would be nice to have an option to run Gitea on a Synology DS without Gitea forcing the DS to stay awake.
GiteaMirror added the issue/stale label 2025-11-02 05:20:04 -06:00
Author
Owner

@stale[bot] commented on GitHub (Dec 10, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Dec 10, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@techknowlogick commented on GitHub (Dec 10, 2019):

This is due to the process being a daemon that is always running. You could try to disable cron, although this would have an impact on the functioning of Gitea itself. More details on that config here: https://docs.gitea.io/en-us/config-cheat-sheet/#cron-cron

@techknowlogick commented on GitHub (Dec 10, 2019): This is due to the process being a daemon that is always running. You could try to disable cron, although this would have an impact on the functioning of Gitea itself. More details on that config here: https://docs.gitea.io/en-us/config-cheat-sheet/#cron-cron
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3630