Updated info for launchctl

This commit is contained in:
2026-04-02 11:56:19 +02:00
parent 377e51aabe
commit 161c46eaf8
2 changed files with 9 additions and 6 deletions
+3 -3
View File
@@ -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\")")
+6 -3
View File
@@ -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 <https://tracker.debian.org/pkg/elog>.