Added logging

This commit is contained in:
Torsten Schulz
2024-05-08 21:03:12 +02:00
parent 413dc7ada8
commit 4ce3504688
5 changed files with 46 additions and 3 deletions

View File

@@ -67,3 +67,5 @@ install(TARGETS ${PROJECT_NAME}
install(DIRECTORY docroot/
DESTINATION /opt/ypchat/docroot
)
install(CODE "file(MAKE_DIRECTORY /opt/ypchat/logs)")
install(CODE "execute_process(COMMAND chmod 777 /opt/ypchat/logs)")