diff --git a/CMakeLists.txt b/CMakeLists.txt index 77d07ffa..8ff39474 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # CMakeLists.txt for ELOG project -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(ELOG) # C++ version @@ -162,8 +162,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES Darwin) install(FILES ${CMAKE_SOURCE_DIR}/elogd.plist DESTINATION /Library/LaunchDaemons/ch.psi.elogd.plist) -install(CODE "message(\"\nThe elogd servie can be started with:\")") -install(CODE "message(\"$ sudo launchctl load /Library/LaunchDaemons/ch.psi.elogd.plist\n\")") +install(CODE "message(\"\nThe elogd service can be started with:\")") +install(CODE "message(\"$ sudo launchctl bootstrap system /Library/LaunchDaemons/ch.psi.elogd.plist/elogd.plist\n\")") #install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --cyan # \"$ sudo launchctl load /Library/LaunchDaemons/ch.psi.elogd.plist\")") diff --git a/mkdocs/docs/adminguide.md b/mkdocs/docs/adminguide.md index 9e22e675..9b79ceaf 100644 --- a/mkdocs/docs/adminguide.md +++ b/mkdocs/docs/adminguide.md @@ -131,20 +131,23 @@ either manually with `/usr/local/sbin/elogd` -or through the daemon servics with +or through the daemon service with ``` text sudo launchctl enable system/ch.psi.elogd -sudo launchctl bootstrap system /Library/LaunchDaemons/ch.psi.elogd.plist +sudo launchctl bootstrap system /Library/LaunchDaemons/ch.psi.elogd.plist/elogd.plist ``` To stop the service, use ``` text -sudo launchctl bootout system /Library/LauchDaemons/ch.psi.elogd.plist +sudo launchctl bootout system /Library/LaunchDaemons/ch.psi.elogd.plist/elogd.plist sudo launchctl disable system/ch.psi.elogd ``` +Some users reported that on some systems the daemon requires +Full Disk Access to be granted under `Settings / Privacy & Security`. + ### Debian A Debian package is available under .