1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Suggest to use Type=simple for systemd service (#28717)

Although the systemd notify support was added, it seems that there are
some problems (#28553, for the "non-installed" instance)
This commit is contained in:
wxiaoguang
2024-01-07 23:18:04 +08:00
committed by GitHub
parent 9296c31ff7
commit 79da4bbc56
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,9 @@ import (
"time"
)
// FIXME: it seems that there is a bug when using systemd Type=notify: the "Install Page" (INSTALL_LOCK=false) doesn't notify properly.
// At the moment, no idea whether it also affects Windows Service, or whether it's a regression bug. It needs to be investigated later.
type systemdNotifyMsg string
const (