Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eF2Bz-0007da-Ow for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Nov 2017 18:13:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eF2By-0004vV-IE for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Nov 2017 18:13:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eF2By-0004vK-Ae for pgsql-hackers@lists.postgresql.org; Wed, 15 Nov 2017 18:13:42 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eF2Bn-0003UP-1b for pgsql-hackers@postgresql.org; Wed, 15 Nov 2017 18:13:38 +0000 Received: by mail-pf0-x22f.google.com with SMTP id j28so15252048pfk.8 for ; Wed, 15 Nov 2017 10:13:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WrikohTsimFCXMVjbSr1+N/ULuH6rnO7lwjahNvl8VU=; b=n94slRLb79rbOfAmlWfc9RU+Y503+frx1mzPE0kV8Q1hI5voBwe62JtTK1j89vtj2T Y15lJb9LFU4ipTldvajsvi+UfnzVHr5HZAOAxdEfBw5YGYAfLKbG5y/WEhC3SRq6WlbY shF7sgv78c9HGrH7Bb7qGx/lluCOOSO0V70Wkt75g7vFQpCPdf2rQlelZlHVdLt8e7WJ mH9vgcfhAULY62epUfX2bIwywLhFc+sCiMXEFpAcDGhaDeb74svqe3w5Adn0yuvz731s 3oFz5fGlDIJOA31yBebOj/kIhW0lnqYOTUF/F90Amn2oEMLvHyMUOhjJ9fiSR3Pp2DbB FKvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WrikohTsimFCXMVjbSr1+N/ULuH6rnO7lwjahNvl8VU=; b=Kyx9U0C05JlR8p3kvVaXZbBDnIvt/TKDHdo/AxUIX0dIhELqbTDr+vglUii27kd9Ta 2/CJ9yFuk8j1OmfpqM+U0bs4Es42YeSL+KVAiszC5lwQM2FZfB6h6dh2bafioxx5EbdE x2rGrHHNlVb4a9WaYrwzjhpulY2TMehTHAFBZtVR9FzQD/kF/eIHbf8sviLS01c9CEPf s6hPUiHEECmc+Df9DU5bHWA5VM6bDhJTdXC/ufy/+6AJF2tLn4jyxeY1lurDL6xUugls reg9Zm5vwBPgFlt9x8iwanTmMdW69QoP/B1sBgfAFnqie6byrbehATjX++mku1aAjEKg qaHw== X-Gm-Message-State: AJaThX5C+xOWzLLneupPy+qQMDvv311iiIrlHGbQKLk7l6agESsik8uV 9LEU21RoVzyJgw+sog0zFJQ= X-Google-Smtp-Source: AGs4zMYUqvGHBCoUuJZcEUvJDJzFGyYEJiH0ZrNSQsFPGbRIYCLUSSd9MbNRLj3CwGfaxZbdY9evOA== X-Received: by 10.159.252.138 with SMTP id bb10mr6305759plb.163.1510769607117; Wed, 15 Nov 2017 10:13:27 -0800 (PST) Received: from [192.168.2.121] ([172.92.45.130]) by smtp.gmail.com with ESMTPSA id f12sm37562303pga.7.2017.11.15.10.13.26 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 10:13:26 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Updated macOS start scripts From: Mark Dilger In-Reply-To: <31338.1510763554@sss.pgh.pa.us> Date: Wed, 15 Nov 2017 10:13:21 -0800 Cc: pgsql-hackers@postgreSQL.org Content-Transfer-Encoding: quoted-printable Message-Id: <6D443E39-13C2-4185-9FE4-B5CB416AB06E@gmail.com> References: <31338.1510763554@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3124) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Nov 15, 2017, at 8:32 AM, Tom Lane wrote: >=20 > The stuff in contrib/start-scripts/osx/ does not, as far as I know, > work at all on any recent release of macOS, because SystemStarter > is long gone. I propose replacing it with the attached, which > I've tested on current-vintage Macs. >=20 I tested the presence of SystemStarter, which the old implementation uses, and launchd and launchctl, which your new implementation uses, on a couple of my mac laptops: OS X 10.11.6 SystemStarter - not installed launchd - installed launchctl - installed OS X 10.6.8 SystemStarter - installed launchd - installed launchctl - installed According to Wikipedia: "SystemStarter appears to have been removed from OS X 10.10 and later = (reference needed)." and "In Mac OS X v10.4, it was deprecated in favor of launchd" Overall, I think supporting 10.10 and greater is more relevant than = continuing to support 10.4 and earlier, though I suppose someone could argue for keeping both in side-by-side files with the README directing users which = to use for whichever version of OS X they happen to be running. It's of no consequence to me, since my oldest mac is running 10.6.8, but somebody from the museum of old macs might feel differently. mark