From 5116aa5bbdad9f4458cef6d7c73f6166e7f2851e Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 13 Dec 2020 17:13:55 +0100 Subject: [PATCH] Restore also the context of the log file --- gitea-updater | 1 + 1 file changed, 1 insertion(+) diff --git a/gitea-updater b/gitea-updater index f858c19..f0ea693 100644 --- a/gitea-updater +++ b/gitea-updater @@ -33,6 +33,7 @@ function update_gitea { # set the correct permissions sudo chmod +x /usr/local/bin/gitea restorecon /usr/local/bin/gitea + restorecon /var/lib/gitea/log/gitea.log if systemctl start gitea.service then