]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix "daemon" typos 1981/head
authorChris Boot <bootc@debian.org>
Sat, 22 Feb 2025 12:45:33 +0000 (12:45 +0000)
committerChris Boot <bootc@debian.org>
Sat, 22 Feb 2025 12:45:33 +0000 (12:45 +0000)
CONFIGURATION FLAGS.md
shairport.c

index 85e654e94b96a915f3a38acfde8b507788b8abb4..4c51c3b16622c9292e9fe4bb3ca356ca100d5887 100644 (file)
@@ -115,7 +115,7 @@ A [daemon](https://en.wikipedia.org/wiki/Daemon_(computing)) is a computer progr
 FreeBSD and most recent Linux distributions can run an application as a daemon without special modifications. However, in certain older distributions and in special cases it may be necessary to enable Shairport Sync to daemonise itself. Use the `--with-libdaemon` configuration option:
 
 - `--with-libdaemon` Includes a demonising library needed if you want Shairport Sync to demonise itself with the `-d` option. Not needed for `systemd`-based systems which demonise programs differently.
-- `--with-piddir=<pathname>` Specifies a pathname to a directory in which to write the PID file which is created when Shairport Sync daemonises itself and used to locate the deamon process to be killed with the `-k` command line option.
+- `--with-piddir=<pathname>` Specifies a pathname to a directory in which to write the PID file which is created when Shairport Sync daemonises itself and used to locate the daemon process to be killed with the `-k` command line option.
 
 ### Automatic Start
 | Flags |
index 87ac0ea758f492267731d6d7ac11c3db694ee17a..45b2a5053029abd986bdbbe537b61837b5f0f796 100644 (file)
@@ -2165,7 +2165,7 @@ int main(int argc, char **argv) {
 #ifdef CONFIG_LIBDAEMON
   /* If we are going to daemonise, check that the daemon is not running already.*/
   if ((config.daemonise) && ((pid = daemon_pid_file_is_running()) >= 0)) {
-    warn("The %s deamon is already running with process ID (PID) %u.", config.appName, pid);
+    warn("The %s daemon is already running with process ID (PID) %u.", config.appName, pid);
     // daemon_log(LOG_ERR, "The %s daemon is already running as PID %u", config.appName, pid);
     return 1;
   }