diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-01-07 23:18:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 15:18:04 +0000 |
commit | 79da4bbc566cd3b1c028ca0b747c196fc02990f7 (patch) | |
tree | 398c3effbb520e6c0631ef9811751a52dd9617d0 /modules/graceful/manager_common.go | |
parent | 9296c31ff7c42a6d3ddc9a1d7a54b084d786425e (diff) | |
download | gitea-79da4bbc566cd3b1c028ca0b747c196fc02990f7.tar.gz gitea-79da4bbc566cd3b1c028ca0b747c196fc02990f7.zip |
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)
Diffstat (limited to 'modules/graceful/manager_common.go')
-rw-r--r-- | modules/graceful/manager_common.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/graceful/manager_common.go b/modules/graceful/manager_common.go index aaf008670c..27196e1531 100644 --- a/modules/graceful/manager_common.go +++ b/modules/graceful/manager_common.go @@ -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 ( |