Added validation for file modifcation

This commit is contained in:
2023-06-14 16:57:58 -04:00
parent acab1e04f8
commit a9da563696

View File

@@ -14,6 +14,7 @@
AuthorizedKeysCommandUser git
AuthorizedKeysCommand /usr/bin/docker exec -i gitea /usr/local/bin/gitea keys -c /etc/gitea/app.ini -e git -u %u -t %t -k %k
become: true
validate: /usr/sbin/sshd -T -f %s
notify: restart sshd
#############################