mirror of
https://github.com/EV21/uberspace-helper.git
synced 2026-10-07 20:33:18 +02:00
fix(Gitea): delete existing HUP signal configuration
This commit is contained in:
2 files changed
+22
No files matched your search
@@ -316,8 +316,19 @@ function version_lower_than
|
||||
head --lines=1)" != "$1"
|
||||
}
|
||||
|
||||
function fix_stop_signal
|
||||
{
|
||||
if (grep --quiet HUP "$HOME"/etc/services.d/gitea.ini)
|
||||
then
|
||||
sed --in-place '/HUP/d' "$HOME"/etc/services.d/gitea.ini
|
||||
supervisorctl reread
|
||||
supervisorctl update
|
||||
fi
|
||||
}
|
||||
|
||||
function main
|
||||
{
|
||||
fix_stop_signal
|
||||
get_local_version
|
||||
get_latest_version
|
||||
|
||||
|
||||
Reference in new issue
Block a user