[PR #610] [MERGED] feat: support pid file. #15488

Closed
opened 2025-11-02 11:47:41 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/610
Author: @appleboy
Created: 1/8/2017
Status: Merged
Merged: 1/9/2017
Merged by: @metalmatze

Base: masterHead: pid


📝 Commits (1)

📊 Changes

2 files changed (+33 additions, -0 deletions)

View changed files

📝 cmd/web.go (+10 -0)
📝 modules/setting/setting.go (+23 -0)

📄 Description

We can restart the app automatically by the following command.

kill -USR2 $(cat custom/run/app.pid)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/610 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 1/8/2017 **Status:** ✅ Merged **Merged:** 1/9/2017 **Merged by:** [@metalmatze](https://github.com/metalmatze) **Base:** `master` ← **Head:** `pid` --- ### 📝 Commits (1) - [`9f57598`](https://github.com/go-gitea/gitea/commit/9f575986d8021cfab87d1dd664517d4fbd4ea58a) feat: support pid file. ### 📊 Changes **2 files changed** (+33 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/web.go` (+10 -0) 📝 `modules/setting/setting.go` (+23 -0) </details> ### 📄 Description We can restart the app automatically by the following command. ```sh kill -USR2 $(cat custom/run/app.pid) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:47:41 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15488