activated systemd-foreground-option on OS X for launchd

This commit is contained in:
Andreas Boeckler 2018-12-27 13:58:07 +01:00 committed by Justin Maggard
parent a668daa9da
commit 13efe02e2d

View File

@ -951,7 +951,7 @@ init(int argc, char **argv)
else else
DPRINTF(E_FATAL, L_GENERAL, "Option -%c takes one argument.\n", argv[i][1]); DPRINTF(E_FATAL, L_GENERAL, "Option -%c takes one argument.\n", argv[i][1]);
break; break;
#ifdef __linux__ #if defined(__linux__) || defined(__APPLE__)
case 'S': case 'S':
SETFLAG(SYSTEMD_MASK); SETFLAG(SYSTEMD_MASK);
break; break;
@ -987,8 +987,8 @@ init(int argc, char **argv)
"\t-r forces a rescan\n" "\t-r forces a rescan\n"
"\t-R forces a rebuild\n" "\t-R forces a rebuild\n"
"\t-L do not create playlists\n" "\t-L do not create playlists\n"
#ifdef __linux__ #if defined(__linux__) || defined(__APPLE__)
"\t-S changes behaviour for systemd\n" "\t-S changes behaviour for systemd/launchd\n"
#endif #endif
"\t-V print the version number\n", "\t-V print the version number\n",
argv[0], pidfilename); argv[0], pidfilename);