Restore also the context of the log file
This commit is contained in:
parent
45cb2af189
commit
5116aa5bbd
@ -33,6 +33,7 @@ function update_gitea {
|
|||||||
# set the correct permissions
|
# set the correct permissions
|
||||||
sudo chmod +x /usr/local/bin/gitea
|
sudo chmod +x /usr/local/bin/gitea
|
||||||
restorecon /usr/local/bin/gitea
|
restorecon /usr/local/bin/gitea
|
||||||
|
restorecon /var/lib/gitea/log/gitea.log
|
||||||
|
|
||||||
if systemctl start gitea.service
|
if systemctl start gitea.service
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user